[Wine] Strange Winsock problem

Syphius
Tue, 15 Dec 2009 13:27:04 -0000

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?