Gerald Pfeifer : nsiproxy: Include netinet/in.h before if_ether.h.

Alexandre Julliard julliard at winehq.org
Mon Jul 5 16:24:19 CDT 2021


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Jul  3 09:02:43 2021 +0200

nsiproxy: Include netinet/in.h before if_ether.h.

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

---

 dlls/nsiproxy.sys/ndis.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/nsiproxy.sys/ndis.c b/dlls/nsiproxy.sys/ndis.c
index 38e6802e3bd..332df7159b9 100644
--- a/dlls/nsiproxy.sys/ndis.c
+++ b/dlls/nsiproxy.sys/ndis.c
@@ -38,6 +38,10 @@
 #include <net/if_arp.h>
 #endif
 
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
 #ifdef HAVE_NETINET_IF_ETHER_H
 #include <netinet/if_ether.h>
 #endif




More information about the wine-cvs mailing list