public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gethostbyname conflicts
@ 2012-07-25 19:20 Bernd Prager
  2012-07-25 19:29 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Prager @ 2012-07-25 19:20 UTC (permalink / raw)
  To: cygwin

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*, size_t)Â’ here

Can that get fixed?

Thank you,
-- Bernd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-25 19:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-25 19:20 gethostbyname conflicts Bernd Prager
2012-07-25 19:29 ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).