vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Thu Apr 12 14:12:57 
2018 +0200| [6f625d00f2b331713d4317439a19063a8d537fa9] | committer: Steve Lhomme

use proper check for the net/if.h availability

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6f625d00f2b331713d4317439a19063a8d537fa9
---

 modules/services_discovery/sap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index 3bcdeae3bb..2726086af4 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -54,7 +54,7 @@
 #   include <zlib.h>
 #endif
 
-#ifndef _WIN32
+#ifdef HAVE_NET_IF_H
 #   include <net/if.h>
 #endif
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to