From 2e7a2027f165c2dcd465527d13fa283104e8c7f9 Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Sun, 29 May 2011 18:25:49 +0200
Subject: [PATCH] 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.
---
 src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index ee02e944a0..463996444c 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
 */
-- 
GitLab