Unbreak dlls/winhttp on FreeBSD (and likely other BSDs/Darwin)
Gerald Pfeifer
gerald at pfeifer.com
Wed Aug 20 13:34:43 CDT 2008
This minor change on top of Hans' contributions in the recent days
unbreaks the build on FreeBSD (and likely other BSDs and possibly
Darwin/MacOS).
Gerald
ChangeLog:
#include <netinet/in.h> for sockaddr_in.
Index: dlls/winhttp/winhttp_private.h
===================================================================
RCS file: /home/wine/wine/dlls/winhttp/winhttp_private.h,v
retrieving revision 1.6
diff -u -3 -p -r1.6 winhttp_private.h
--- dlls/winhttp/winhttp_private.h 20 Aug 2008 13:15:40 -0000 1.6
+++ dlls/winhttp/winhttp_private.h 20 Aug 2008 18:32:56 -0000
@@ -26,6 +26,9 @@
#include "wine/list.h"
#include "wine/unicode.h"
+#ifdef HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif
More information about the wine-patches
mailing list