Fix dlls/kernel/tests/pipe.c breakage

Dimitrie O. Paun dpaun at rogers.com
Mon May 12 22:26:16 CDT 2003


I get this compilation error:

ack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o pipe.o ../../../../wine.src/dlls/kernel/tests/pipe.c
In file included from ../../../../wine.src/include/winsock2.h:47,
                 from ../../../../wine.src/include/windows.h:62,
                 from ../../../../wine.src/include/rpc.h:22,
                 from ../../../../wine.src/include/wtypes.h:2,
                 from ../../../../wine.src/dlls/kernel/tests/pipe.c:34:
../../../../wine.src/include/winsock.h:946: parse error before "Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library"


ChangeLog
  Make sure winsock.h gets included before stdlib.h.

Index: dlls/kernel/tests/pipe.c
===================================================================
RCS file: /var/cvs/wine/dlls/kernel/tests/pipe.c,v
retrieving revision 1.2
diff -u -r1.2 pipe.c
--- dlls/kernel/tests/pipe.c	25 Feb 2003 03:56:43 -0000	1.2
+++ dlls/kernel/tests/pipe.c	13 May 2003 03:20:58 -0000
@@ -18,6 +18,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <winsock.h>
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <time.h>



-- 
Dimi.




More information about the wine-patches mailing list