Tests: Fix the #include order

Francois Gouget fgouget at free.fr
Mon Sep 16 06:00:34 CDT 2002


Changelog:

 * dlls/advapi32/tests/registry.c,
   dlls/shell32/tests/shlfileop.c,
   dlls/wininet/tests/http.c

   Change the #include order so that these tests compile on Windows


Index: dlls/advapi32/tests/registry.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/tests/registry.c,v
retrieving revision 1.2
diff -u -r1.2 registry.c
--- dlls/advapi32/tests/registry.c	12 Sep 2002 20:46:06 -0000	1.2
+++ dlls/advapi32/tests/registry.c	16 Sep 2002 09:27:12 -0000
@@ -20,6 +20,7 @@

 #include <assert.h>
 #include "wine/test.h"
+#include "winbase.h"
 #include "winreg.h"
 #include "winerror.h"

Index: dlls/shell32/tests/shlfileop.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/tests/shlfileop.c,v
retrieving revision 1.2
diff -u -r1.2 shlfileop.c
--- dlls/shell32/tests/shlfileop.c	4 Sep 2002 18:46:29 -0000	1.2
+++ dlls/shell32/tests/shlfileop.c	16 Sep 2002 09:27:19 -0000
@@ -19,9 +19,9 @@
  */

 #include "wine/test.h"
-#include <shellapi.h>
 #include <stdio.h>
 #include <winbase.h>
+#include <shellapi.h>

 CHAR CURR_DIR[MAX_PATH];

Index: dlls/wininet/tests/http.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/tests/http.c,v
retrieving revision 1.1
diff -u -r1.1 http.c
--- dlls/wininet/tests/http.c	21 Jun 2002 23:59:49 -0000	1.1
+++ dlls/wininet/tests/http.c	16 Sep 2002 09:27:20 -0000
@@ -1,7 +1,7 @@
-#include <stdio.h>
-#include "winbase.h"
-#include "wininet.h"
 #include "wine/test.h"
+#include <stdio.h>
+#include "winbase.h"
+#include "wininet.h"

 int goon = 0;



-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
            Before you criticize someone, walk a mile in his shoes.
       That way, if he gets angry, he'll be a mile away - and barefoot.




More information about the wine-patches mailing list