Gerald Pfeifer : iphlpapi: Include <netinet/in.h> in ifenum.c.

Alexandre Julliard julliard at winehq.org
Mon Feb 22 15:43:20 CST 2021


Module: wine
Branch: master
Commit: 9e69aca6d15477070d55583fac23026f64416959
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9e69aca6d15477070d55583fac23026f64416959

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun Feb 21 14:05:46 2021 +0100

iphlpapi: Include <netinet/in.h> in ifenum.c.

Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/iphlpapi/ifenum.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/iphlpapi/ifenum.c b/dlls/iphlpapi/ifenum.c
index 288e04db7b8..2e99ebe03fd 100644
--- a/dlls/iphlpapi/ifenum.c
+++ b/dlls/iphlpapi/ifenum.c
@@ -67,6 +67,10 @@
 #include <net/if_types.h>
 #endif
 
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
 #ifdef HAVE_IFADDRS_H
 #include <ifaddrs.h>
 #endif




More information about the wine-cvs mailing list