]> git.sesse.net Git - vlc/blobdiff - modules/control/http/mvar.c
Fix oldhttp build : needs struct stat / S_ISDIR
[vlc] / modules / control / http / mvar.c
index 28862cd5e7847671d6d75b925991c00ecfe87e50..9e0862fecd474aed5bba9c0c79278ee31621d6fa 100644 (file)
@@ -31,6 +31,9 @@
 #include <errno.h>
 #include <ctype.h>
 #include <fcntl.h>
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 
 /* Utility function for scandir */
 static int Filter( const char *foo )