[Bug 17907] New: build broken in dlls/ws2_32/tests/sock.c on OpenBSD 4.5

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Mar 31 00:57:17 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=17907

           Summary: build broken in dlls/ws2_32/tests/sock.c on OpenBSD 4.5
           Product: Wine
           Version: 1.1.18
          Platform: PC
        OS/Version: OpenBSD
            Status: NEW
          Keywords: download, source, testcase
          Severity: blocker
          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_REENTRANT -fPIC -Wall
-pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/usr/local/include
-I/usr/local/include -I/usr/local/include/libpng  -o sock.o sock.c
In file included from sock.c:28:
../../../include/ws2tcpip.h:60: error: conflicting types for `socklen_t'
/usr/include/sys/types.h:163: error: previous declaration of `socklen_t'
*** Error code 1

Going for the easy way out and using #define USE_WS_PREFIX just breaks things
worse (see attached).

Looks a bit similar to 16661, so some more includes may help, but filing a bug
for now.

Kai, perhaps you could take a look? If you need SSH access, let me know.


-- 
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