]> git.sesse.net Git - vlc/commitdiff
Fix oldhttp build : needs struct stat / S_ISDIR
authorRafaël Carré <rafael.carre@gmail.com>
Wed, 13 Jan 2010 00:45:58 +0000 (01:45 +0100)
committerRafaël Carré <rafael.carre@gmail.com>
Wed, 13 Jan 2010 00:48:56 +0000 (01:48 +0100)
modules/control/http/mvar.c
modules/control/http/util.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 )
index 17e9115bf3981f51538044b387bf1ba2616d3ad2..7134321be87ac7ae805ed75d2c520d076aa7ac0a 100644 (file)
@@ -32,6 +32,7 @@
 #include <vlc_strings.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <sys/stat.h>
 
 /****************************************************************************
  * File and directory functions