Resolv.h needs arpa/nameser.h
Pierre d'Herbemont
stegefin at free.fr
Thu Oct 23 14:06:25 CDT 2003
Hi!
In scheduler/pthread.c resolv.h is included without the previous
inclusion of <arpa/nameser.h>. It doesn't work on darwin (and certainly
on other *bsd). And it should work on Linux this way.
Pierre.
ChangeLog:
include <arpa/nameser.h> before <resolv.h>
-------------- next part --------------
Index: scheduler/pthread.c
===================================================================
RCS file: /home/wine/wine/scheduler/pthread.c,v
retrieving revision 1.45
diff -u -r1.45 pthread.c
--- scheduler/pthread.c 12 Oct 2003 02:26:20 -0000 1.45
+++ scheduler/pthread.c 23 Oct 2003 19:00:51 -0000
@@ -48,6 +48,9 @@
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
+#ifdef HAVE_ARPA_NAMESER_H
+# include <arpa/nameser.h>
+#endif
#ifdef HAVE_RESOLV_H
# include <resolv.h>
#endif
More information about the wine-patches
mailing list