[Wine] Strange Winsock problem

Syphius wineforum-user at winehq.org
Tue Dec 15 07:27:04 CST 2009


Hello, 

I try to port a small program (Windows resouces manipulation tool) on MacOSX, but I've a strange compilation problem :


Code:

wineg++ -c   -I. -I/usr/local/include/wine -I/usr/local/include/wine/windows    -o ExeIconManipulation.o ExeIconManipulation.cpp
/usr/include/sys/_select.h:47: error: declaration of C function ‘int select(int, fd_set*, fd_set*, fd_set*, timeval*)’ conflicts with
/usr/local/include/wine/windows/winsock.h:1048: error: previous declaration ‘int select(int, fd_set*, fd_set*, fd_set*, const timeval*)’ here
winegcc: g++ failed




I didn't use winsock on my program, I just include windows.h, and I've this strange problem.

Could you help me?







More information about the wine-users mailing list