PATCH - wineserver request.c porting fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Working on building wineserver on mingw

Changelog: 
check for 
pwd.h
sys/uio.h
sys/un.h

Index: request.c
===================================================================
RCS file: /home/wine/wine/server/request.c,v
retrieving revision 1.71
diff -u -r1.71 request.c
--- request.c	30 Jan 2003 00:26:44 -0000	1.71
+++ request.c	31 Jan 2003 19:43:54 -0000
@@ -24,7 +24,9 @@
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
+#ifdef HAVE_PWD_H
 #include <pwd.h>
+#endif
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -39,8 +41,12 @@
 #ifdef HAVE_SYS_WAIT_H
 # include <sys/wait.h>
 #endif
+#ifdef HAVE_SYS_UIO_H
 #include <sys/uio.h>
+#endif
+#ifdef HAVE_SYS_UN_H
 #include <sys/un.h>
+#endif
 #include <unistd.h>
 
 #include "windef.h"


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux