iphlpapi : fix includes to match man page recommendations

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

 



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

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"


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

  Powered by Linux