mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08: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:
parent
183a9c6244
commit
4b1203d4c9
@ -1,12 +1,12 @@
|
||||
#include <curl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
/* 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 */
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <curl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
extern char *arg2; /* set by first.c to the argv[2] or NULL */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user