iphlpapi : fix includes to match man page recommendations

Pierre d'Herbemont stegefin at free.fr
Sun May 18 07:23:23 CDT 2003


Hi,

Iphlpapi dll can't be build on Mac OS X, because there is 
arpa/nameser.h file which is note included before resolv.h in 
iphlpapi_main.c. Linux and Darwin Man Pages says that we should include 
it before resolv.h.

ChangeLog:
Include arpa/nameser.h before resolv.h.

Pierre

-------------- next part --------------
Index: dlls/iphlpapi/iphlpapi_main.c
===================================================================
RCS file: /home/wine/wine/dlls/iphlpapi/iphlpapi_main.c,v
retrieving revision 1.2
diff -u -r1.2 iphlpapi_main.c
--- dlls/iphlpapi/iphlpapi_main.c	13 May 2003 23:37:29 -0000	1.2
+++ dlls/iphlpapi/iphlpapi_main.c	18 May 2003 12:18:21 -0000
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <sys/types.h>
 #include <netinet/in.h>
+#include <arpa/nameser.h>
 #include <resolv.h>
 #include "winbase.h"
 #include "iphlpapi.h"
-------------- next part --------------



More information about the wine-patches mailing list