gethostbyname conflicts

2012-07-25 Thread Bernd Prager
All, I am having troubles compiling a boost package due to conflicting declarations: /usr/include/w32api/winsock2.h:635:33: error: declaration of C function ‘int gethostname(char*, int)’ conflicts with /usr/include/sys/unistd.h:238:6: error: previous declaration ‘int gethostname(char*,

Re: gethostbyname conflicts

2012-07-25 Thread Larry Hall (Cygwin)
On 7/25/2012 3:20 PM, Bernd Prager wrote: All, I am having troubles compiling a boost package due to conflicting declarations: /usr/include/w32api/winsock2.h:635:33: error: declaration of C function ‘int gethostname(char*, int)’ conflicts with /usr/include/sys/unistd.h:238:6: error: previous