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

Check for fstatfs (fixes: #3028)

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