Resolv.h needs arpa/nameser.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

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

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux