PATCH: winsock compilation

Marcus Meissner marcus at jet.franken.de
Sun Apr 7 16:16:17 CDT 2002


Hi,

Ciao, Marcus

Changelog:
    struct iovec needs <sys/uio.h> for some glibc versions.

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.16
diff -u -r1.16 configure.ac
--- configure.ac	3 Apr 2002 20:24:44 -0000	1.16
+++ configure.ac	7 Apr 2002 22:23:53 -0000
@@ -989,6 +989,7 @@
 	sys/time.h \
 	sys/user.h \
 	sys/wait.h \
+	sys/uio.h \
 	sys/v86.h \
 	sys/v86intr.h \
 	sys/vfs.h \
Index: dlls/winsock/socket.c
===================================================================
RCS file: /home/wine/wine/dlls/winsock/socket.c,v
retrieving revision 1.87
diff -u -r1.87 socket.c
--- dlls/winsock/socket.c	5 Apr 2002 21:22:55 -0000	1.87
+++ dlls/winsock/socket.c	7 Apr 2002 22:23:54 -0000
@@ -39,6 +39,9 @@
 #ifdef HAVE_SYS_SOCKIO_H
 # include <sys/sockio.h>
 #endif
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
 
 #if defined(__EMX__)
 # include <sys/so_ioctl.h>



More information about the wine-patches mailing list