minires-devel-0.97-1: resolv.h fails

Reini Urban rurban@x-ray.at
Mon Oct 18 06:54:00 GMT 2004


minires-devel-0.97-1:
   #include <resolv.h> fails suddenly.

Apparently /usr/include/resolv.h misses the definition for
sockaddr_in, which is defined in <cygwin/in.h>

Have no clue why it suddenly fails. Anyone else?
These headers didn't change for years...

Which file is supposed to include cygwin/in.h? I found nothing.
On other systems it's defined in sys/socket.h, which is included in 
resolv.h.

After adding the #include <cygwin/in.h> line to resolv.h
everything works fine.
But to my understanding cygwin/socket.h should include cygwin/in.h
as it also includes cygwin/if.h (via asm/socket.h).
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


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



More information about the Cygwin mailing list