mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 02:09:49 +08:00
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:
@@ -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
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
/* this utility dumps the schema for an existing database */
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
*/
|
||||
|
||||
/* this utility dumps the schema for an existing database */
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
#ifdef DMALLOC
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
int
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
int
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
int
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
int
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
int
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
int
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "mdbtools.h"
|
||||
|
||||
#define TABLE_NAME "Orders"
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user