Yoann Vandoorselaere <[EMAIL PROTECTED]> writes: > On Fri, 2006-07-28 at 14:13 +0200, Bruno Haible wrote: >> Yoann Vandoorselaere wrote: >> > >> > #include <sys/types.h> >> > #include <sys/socket.h> >> > + >> > +#ifdef HAVE_NETINET_IN_H >> > +# include <netinet/in.h> >> > +#endif >> > + >> > #ifdef HAVE_ARPA_INET_H >> > # include <arpa/inet.h> >> > #endif >> >> Also, how about using #if instead of #ifdef, like in the rest of gnulib? > > Sound good, although I guess you can also update the HAVE_ARPA_INET_H > check then. :-)
I've installed your patch. Thanks!