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. :-) -- Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies Tel: +33 (0)8 70 70 21 58 Fax: +33(0)4 78 42 21 58 http://www.prelude-ids.com