winsock.h patch for compiling programs on NetBSD and FreeBSD

Bang Jun-Young bjy at mogua.org
Sat May 12 03:37:23 CDT 2001


ChangeLog:
	* include/winsock.h:
	Bang Jun-Young <bjy at mogua.org>
	Define HAVE_SYS_SOCKET_H on NetBSD and FreeBSD.

-- 
Bang Jun-Young <bjy at mogua.org>

-------------- next part --------------
--- winsock.h.orig	Thu Jan 11 09:53:07 2001
+++ winsock.h	Sat May 12 17:30:06 2001
@@ -11,11 +11,11 @@
 #include <sys/types.h>
 
 #ifndef __WINE__
-#ifdef __svr4__
+#if defined(__svr4__) || defined(__NetBSD__) || defined(__FreeBSD__)
 #ifndef HAVE_SYS_SOCKET_H
 #define HAVE_SYS_SOCKET_H
 #endif /* HAVE_SYS_SOCKET_H */
-#endif /* __svr4__ */
+#endif /* __svr4__ || __NetBSD__ || __FreeBSD__ */
 #endif /* __WINE__ */
 
 /* Solaris uses these macro names */


More information about the wine-patches mailing list