]> git.sesse.net Git - vlc/commitdiff
if_nameindex stub compilation fix
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 13 Jun 2011 15:13:40 +0000 (17:13 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 13 Jun 2011 15:21:13 +0000 (17:21 +0200)
include/vlc_fixups.h

index 929ad07a1cdf41f2d61b52d863b536634e0091d6..ead3ac32920acf6ba5bfcfe904b69d4df33f68a2 100644 (file)
@@ -279,6 +279,7 @@ int vlc_poll (struct pollfd *, unsigned, int);
 #endif
 
 #ifndef HAVE_IF_NAMEINDEX
+#include <errno.h>
 struct if_nameindex
 {
     unsigned if_index;