Make unistd.h include conditional

Francois Gouget fgouget at free.fr
Thu Jul 21 11:15:39 CDT 2005


Changelog:

  * dlls/winspool/info.c

    Francois Gouget <fgouget at free.fr>
    Make the unistd.h include conditional


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
       Any sufficiently advanced bug is indistinguishable from a feature.
                             -- from some indian guy
-------------- next part --------------
Index: dlls/winspool/info.c
===================================================================
RCS file: /var/cvs/wine/dlls/winspool/info.c,v
retrieving revision 1.121
diff -u -p -r1.121 info.c
--- dlls/winspool/info.c	20 Jul 2005 17:48:53 -0000	1.121
+++ dlls/winspool/info.c	21 Jul 2005 10:29:11 -0000
@@ -31,7 +31,9 @@
 #include <string.h>
 #include <ctype.h>
 #include <stddef.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 #include <signal.h>
 #ifdef HAVE_CUPS_CUPS_H
 # include <cups/cups.h>


More information about the wine-patches mailing list