[Bug 16665] New: build broken in dlls/winhttp/cookie.c on OpenBSD 4.4
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Dec 28 21:00:14 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=16665
Summary: build broken in dlls/winhttp/cookie.c on OpenBSD 4.4
Product: Wine
Version: 1.1.11
Platform: PC
OS/Version: OpenBSD
Status: NEW
Keywords: patch, source
Severity: major
Priority: P2
Component: build-env
AssignedTo: wine-bugs at winehq.org
ReportedBy: austinenglish at gmail.com
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT
-fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith
-I/usr/local/include -g -O2 -o cookie.o cookie.c
In file included from winhttp_private.h:30,
from cookie.c:29:
/usr/include/netinet/in.h:136: error: syntax error before "in_addr_t"
/usr/include/netinet/in.h:213: error: syntax error before "u_int8_t"
/usr/include/netinet/in.h:217: error: syntax error before "int8_t"
/usr/include/netinet/in.h:232: error: syntax error before "int8_t"
In file included from /usr/include/netinet/in.h:698,
from winhttp_private.h:30,
from cookie.c:29:
/usr/include/netinet6/in6.h:118: error: syntax error before "u_int8_t"
/usr/include/netinet6/in6.h:140: error: syntax error before "u_int8_t"
/usr/include/netinet6/in6.h:145: error: syntax error before "u_int32_t"
/usr/include/netinet6/in6.h:514: error: syntax error before "u_int32_t"
/usr/include/netinet6/in6.h:752: error: syntax error before '*' token
/usr/include/netinet6/in6.h:754: error: syntax error before '*' token
/usr/include/netinet6/in6.h:755: error: syntax error before "u_int8_t"
/usr/include/netinet6/in6.h:756: error: syntax error before "u_int8_t"
/usr/include/netinet6/in6.h:770: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:771: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:773: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:774: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:776: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:778: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:780: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:782: error: syntax error before "inet6_rth_space"
/usr/include/netinet6/in6.h:783: error: syntax error before "socklen_t"
*** Error code 1
easy fix:
diff --git a/dlls/winhttp/winhttp_private.h b/dlls/winhttp/winhttp_private.h
index 5043235..511e124 100644
--- a/dlls/winhttp/winhttp_private.h
+++ b/dlls/winhttp/winhttp_private.h
@@ -26,6 +26,7 @@
#include "wine/list.h"
#include "wine/unicode.h"
+#include <sys/types.h>
+
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
Already submitted to wine-patches.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list