1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

include config.h before all system headers, so that _FILE_OFFSET_BITS and

similar is set properly by us first
This commit is contained in:
Daniel Stenberg 2003-04-15 13:32:26 +00:00
parent 183a9c6244
commit 4b1203d4c9

View File

@ -1,12 +1,12 @@
#include <curl.h>
#include <stdio.h>
#include <string.h>
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
/* Now include the config.h file from libcurl's private libdir, so that we /* Now include the config.h file from libcurl's private libdir, so that we
get good in-depth knowledge about the system we're building this on */ get good in-depth knowledge about the system we're building this on */
#include "config.h" #include "config.h"
#endif #endif
#include <curl.h>
#include <stdio.h>
#include <string.h>
extern char *arg2; /* set by first.c to the argv[2] or NULL */ extern char *arg2; /* set by first.c to the argv[2] or NULL */