Fix to directory test

Francois Gouget fgouget at codeweavers.com
Sun Mar 31 21:00:32 CST 2002


   'winbase.h' must be included after 'wine/test.h'. Otherwise the file
does not compile on Windows because on Windows one must include a number
of other things before 'winbase.h', things which are conveniently
included for you by 'wine/test.h'. 

   This rule pretty much applies to any Windows header and I suspect
this is not the last time that I will have to make this fix. But I
really do not mind, it's such a simple fix to do.


Changelog:

   François Gouget <fgouget at codeweavers.com>

 * dlls/kernel/tests/directory.c

   Windows headers must be included after wine/test.h


-- 
François Gouget
fgouget at codeweavers.com
-------------- next part --------------
Index: dlls/kernel/tests/directory.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/directory.c,v
retrieving revision 1.1
diff -u -r1.1 directory.c
--- dlls/kernel/tests/directory.c	22 Mar 2002 01:00:17 -0000	1.1
+++ dlls/kernel/tests/directory.c	30 Mar 2002 19:15:31 -0000
@@ -18,8 +18,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "winbase.h"
 #include "wine/test.h"
+#include "winbase.h"
 
 
 /* If you change something in these tests, please do the same


More information about the wine-patches mailing list