Include config.h in all .c files

Need to be the first file since it may define large files support
and other options.
This commit is contained in:
Nirgal Vourgère
2013-07-04 10:53:13 +02:00
parent 66b87caf26
commit 7162e8db74
60 changed files with 106 additions and 50 deletions

View File

@@ -19,6 +19,7 @@
/* this is inherited from mdb-export.c, modified to make arrays similar to
those generated by parsecsv.c */
#include "config.h"
#include "mdbtools.h"
#ifdef DMALLOC

View File

@@ -18,6 +18,7 @@
/* this utility dumps the schema for an existing database */
#include "config.h"
#include "mdbtools.h"
#ifdef DMALLOC

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
#ifdef DMALLOC

View File

@@ -18,8 +18,10 @@
/* this utility dumps the C headers for an existing database */
/* it will create three files - types.h and dump_types.[ch] */
#include "mdbtools.h"
#include "config.h"
#include <string.h>
#include "mdbtools.h"
#ifdef DMALLOC
#include "dmalloc.h"

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
#define MAX_ROW_SIZE 4096

View File

@@ -19,6 +19,8 @@
/* this utility converts a CSV from an existing database to a C file */
/* input FOO.txt, output FOO.c */
/* generates an array of type FOO */
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
void dump_kkd(MdbHandle *mdb, void *kkd, size_t len);

View File

@@ -17,6 +17,7 @@
*/
/* this utility dumps the schema for an existing database */
#include "config.h"
#include <ctype.h>
#include <getopt.h>
#include "mdbtools.h"

View File

@@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <config.h>
#include "config.h"
#include <stdio.h>
#ifdef HAVE_LIBREADLINE

View File

@@ -17,6 +17,8 @@
*/
/* this utility dumps the schema for an existing database */
#include "config.h"
#include "mdbtools.h"
#ifdef DMALLOC

View File

@@ -16,10 +16,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include <locale.h>
#include "mdbtools.h"
#include "mdbver.h"
#include "mdbprivate.h"
#include <locale.h>
#ifdef DMALLOC
#include "dmalloc.h"

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
int

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
int

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
int

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
int

View File

@@ -16,7 +16,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
extern char idx_to_text[];
void walk_index(MdbHandle *mdb, MdbIndex *idx);

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
int

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
void dump_ole(MdbTableDef *table, char *colname, char *sargname);

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
int

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
#define TABLE_NAME "Orders"

View File

@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "mdbtools.h"
void read_to_row(MdbTableDef *table, char *sargname);