server: Fix compilation under Darwin 7

Phil Krylov phil at newstar.rinet.ru
Thu Mar 23 18:49:50 CST 2006


Hi,

this patch fixes compilation under Darwin 7.

Index: server/signal.c
===================================================================
RCS file: /home/wine/wine/server/signal.c,v
retrieving revision 1.17
diff -p -u -r1.17 signal.c
--- server/signal.c	22 Mar 2006 21:09:44 -0000	1.17
+++ server/signal.c	23 Mar 2006 14:11:50 -0000
@@ -29,6 +29,7 @@
 #include <sys/poll.h>
 #endif
 #ifdef HAVE_SYS_RESOURCE_H
+#include <sys/time.h> /* Needed for resource.h on Darwin 7 */
 #include <sys/resource.h>
 #endif
 #include <unistd.h>



More information about the wine-patches mailing list