include config.h before all system headers, so that _FILE_OFFSET_BITS and
authorDaniel Stenberg <daniel@haxx.se>
Tue, 15 Apr 2003 13:32:26 +0000 (13:32 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Apr 2003 13:32:26 +0000 (13:32 +0000)
similar is set properly by us first

tests/libtest/test.h

index 0451f88ca15769e6a3a96a5d68d19f7857d7218b..f11bfdd6c85b5a1eb4113da5eb696f718f3b20c7 100644 (file)
@@ -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 */