Patch - add check for missing headers in shed/client.c when buildingntdll under mingw

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

 



I know it will be years if ever before WINE could run under Windows 
native because of the threading, memory mapping, and tons of other 
Unixisms Wineserver has to have. As I play around with this I am 
learning so mabey it will be of use to someone else also.

Changelog: Mingw Porting Fix




Index: configure
===================================================================
RCS file: /home/wine/wine/configure,v
retrieving revision 1.350
diff -u -r1.350 configure
--- configure	22 Oct 2002 00:44:24 -0000	1.350
+++ configure	29 Oct 2002 17:18:42 -0000
@@ -11702,6 +11702,8 @@
 	sys/sysctl.h \
 	sys/time.h \
 	sys/times.h \
+	sys/uio.h \
+	sys/un.h \
 	sys/user.h \
 	sys/v86.h \
 	sys/v86intr.h \

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.85
diff -u -r1.85 configure.ac
--- configure.ac	22 Oct 2002 00:44:24 -0000	1.85
+++ configure.ac	29 Oct 2002 17:18:55 -0000
@@ -1017,6 +1017,8 @@
 	sys/sysctl.h \
 	sys/time.h \
 	sys/times.h \
+	sys/uio.h \
+	sys/un.h \
 	sys/user.h \
 	sys/v86.h \
 	sys/v86intr.h \


Index: include/config.h.in
===================================================================
RCS file: /home/wine/wine/include/config.h.in,v
retrieving revision 1.130
diff -u -r1.130 config.h.in
--- include/config.h.in	22 Oct 2002 00:44:24 -0000	1.130
+++ include/config.h.in	29 Oct 2002 17:19:17 -0000
@@ -548,6 +548,12 @@
 /* Define to 1 if you have the <sys/types.h> header file. */
 #undef HAVE_SYS_TYPES_H
 
+/* Define to 1 if you have the <sys/uio.h> header file. */
+#undef HAVE_SYS_UIO_H
+
+/* Define to 1 if you have the <sys/un.h> header file. */
+#undef HAVE_SYS_UN_H
+
 /* Define to 1 if you have the <sys/user.h> header file. */
 #undef HAVE_SYS_USER_H
 
Index: scheduler/client.c
===================================================================
RCS file: /home/wine/wine/scheduler/client.c,v
retrieving revision 1.91
diff -u -r1.91 client.c
--- scheduler/client.c	3 Oct 2002 19:54:57 -0000	1.91
+++ scheduler/client.c	29 Oct 2002 17:19:52 -0000
@@ -35,12 +35,16 @@
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif
+#ifdef HAVE_SYS_UN_H
 #include <sys/un.h>
+#endif
 #ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
 #endif
 #include <sys/stat.h>
+#ifdef HAVE_SYS_UIO_H
 #include <sys/uio.h>
+#endif
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif

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

  Powered by Linux