At 01:03 PM 10/18/2004 +0200, Corinna Vinschen wrote: >On Oct 18 03:28, Reini Urban wrote: >> 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. > >netinet/in.h
Its an upstream issue. According to the resolver man page, netinet/in.h should be included before resolv.h. For example <http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?resolver+3> SYNOPSIS #include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> Pierre -- 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/