Resolv.h detection in configure
Pierre d'Herbemont
stegefin at free.fr
Thu Oct 23 12:34:15 CDT 2003
Hi!
According to :
http://support.sas.com/documentation/onlinedoc/sasc/doc700/html/lr2/
zr2bsdhf.htm
resolv.h needs sys/types, netinet/in.h and arpa/nameser.h to be
included first (and not sys/socket.h). it does not work on darwin if
those headers are not included.
Thanks,
Pierre
ChangeLog:
<resolv.h> needs <sys/types>, <netinet/in.h> and <arpa/nameser.h> to be
included first
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.192
diff -u -r1.192 configure.ac
--- configure.ac 16 Oct 2003 05:16:05 -0000 1.192
+++ configure.ac 23 Oct 2003 17:32:19 -0000
@@ -1088,11 +1088,11 @@
AC_CHECK_HEADERS([resolv.h],,,
[#include <sys/types.h>
- #if HAVE_SYS_SOCKET_H
- # include <sys/socket.h>
- #endif
#if HAVE_NETINET_IN_H
# include <netinet/in.h>
+ #endif
+ #if HAVE_ARPA_NAMESER_H
+ # include <sys/nameser.h>
#endif])
AC_CHECK_HEADERS(netinet/ip.h,,,
More information about the wine-patches
mailing list