Commit 1ddc768c authored by Rafaël Carré's avatar Rafaël Carré

Fix oldhttp build : needs struct stat / S_ISDIR

parent 041e0d11
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
#include <errno.h> #include <errno.h>
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
/* Utility function for scandir */ /* Utility function for scandir */
static int Filter( const char *foo ) static int Filter( const char *foo )
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <vlc_strings.h> #include <vlc_strings.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h>
/**************************************************************************** /****************************************************************************
* File and directory functions * File and directory functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment