[vlc-commits] use proper check for the net/if.h availability
    Steve Lhomme 
    git at videolan.org
       
    Thu Apr 12 14:21:18 CEST 2018
    
    
  
vlc | branch: master | Steve Lhomme <robux4 at 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
 
    
    
More information about the vlc-commits
mailing list