aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-29 18:25:49 +0200
committerYang Tse <yangsita@gmail.com>2011-05-29 18:25:49 +0200
commit2e7a2027f165c2dcd465527d13fa283104e8c7f9 (patch)
tree9ea05c17a71b1fa382d4641c914c3cd3e4982e70 /src
parentae677edf9015ca75e1570e7018757b682f755d62 (diff)
main: fix header inclusion order
Currently, Windows cross-compiled autobuilds require inclusion of setup.h before curl.h to get definitions of CURL_STATICLIB and BUILDING_LIBCURL.
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index ee02e944a..463996444 100644
--- a/src/main.c
+++ b/src/main.c
@@ -19,10 +19,10 @@
* KIND, either express or implied.
*
***************************************************************************/
-#include <curl/curl.h>
-
#include "setup.h"
+#include <curl/curl.h>
+
/*
** system headers
*/