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@winehq.org ReportedBy: austinenglish@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.