Commit 23414d63 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Check for fstatfs (fixes: #3028)

parent 29b00f3f
...@@ -573,8 +573,8 @@ AC_CHECK_FUNCS(fdatasync,, ...@@ -573,8 +573,8 @@ AC_CHECK_FUNCS(fdatasync,,
[AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.]) [AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.])
]) ])
dnl Check for Linux system calls dnl Check for non-standard system calls
AC_CHECK_FUNCS([vmsplice]) AC_CHECK_FUNCS([vmsplice fstatfs])
AH_BOTTOM([#include <vlc_fixups.h>]) AH_BOTTOM([#include <vlc_fixups.h>])
......
...@@ -50,11 +50,9 @@ ...@@ -50,11 +50,9 @@
#if defined (__linux__) #if defined (__linux__)
# include <sys/vfs.h> # include <sys/vfs.h>
# include <linux/magic.h> # include <linux/magic.h>
# define HAVE_FSTATFS 1
#elif defined (HAVE_SYS_MOUNT_H) #elif defined (HAVE_SYS_MOUNT_H)
# include <sys/param.h> # include <sys/param.h>
# include <sys/mount.h> # include <sys/mount.h>
# define HAVE_FSTATFS 1
#endif #endif
#if defined( WIN32 ) #if defined( WIN32 )
......
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