When including config.h, include it first.

diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c
index 6c497f5..1909134 100644
--- a/tools/winebuild/import.c
+++ b/tools/winebuild/import.c
@@ -5,12 +5,13 @@
  *           2000 Eric Pouech
  */
 
+#include "config.h"
+
 #include <fcntl.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
 
-#include "config.h"
 #include "winnt.h"
 #include "build.h"
 
diff --git a/tools/winebuild/main.c b/tools/winebuild/main.c
index b516b27..e85263e 100644
--- a/tools/winebuild/main.c
+++ b/tools/winebuild/main.c
@@ -8,13 +8,14 @@
  * Copyright 1999 Ulrich Weigand
  */
 
+#include "config.h"
+
 #include <assert.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <errno.h>
 #include <string.h>
 
-#include "config.h"
 #include "winnt.h"
 #include "build.h"
 
diff --git a/tools/winebuild/parser.c b/tools/winebuild/parser.c
index a3a9ac3..1484261 100644
--- a/tools/winebuild/parser.c
+++ b/tools/winebuild/parser.c
@@ -8,6 +8,8 @@
  * Copyright 1999 Ulrich Weigand
  */
 
+#include "config.h"
+
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
@@ -15,7 +17,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "config.h"
 #include "winbase.h"
 #include "build.h"
 
diff --git a/tools/winebuild/relay.c b/tools/winebuild/relay.c
index 2ce0280..bb981e9 100644
--- a/tools/winebuild/relay.c
+++ b/tools/winebuild/relay.c
@@ -8,10 +8,11 @@
  * Copyright 1999 Ulrich Weigand
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <unistd.h>
 
-#include "config.h"
 #include "winnt.h"
 #include "thread.h"
 #include "stackframe.h"
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
index 9dd436b..02543c3 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -8,12 +8,13 @@
  * Copyright 1999 Ulrich Weigand
  */
 
+#include "config.h"
+
 #include <assert.h>
 #include <ctype.h>
 #include <unistd.h>
 #include <string.h>
 
-#include "config.h"
 #include "winbase.h"
 #include "wine/exception.h"
 #include "build.h"