]> git.sesse.net Git - vlc/commitdiff
Check for fstatfs (fixes: #3028)
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 6 Aug 2009 16:54:45 +0000 (19:54 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 6 Aug 2009 16:54:45 +0000 (19:54 +0300)
configure.ac
modules/access/file.c

index 0b6141b76257ffaf269f6ba3c3b47e956077453e..cbf31516ad972ee9c5fb8f1f186d15ffe79043b4 100644 (file)
@@ -573,8 +573,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>])
 
index 78aa729580b5946152be8861cf1c7bd522a8f543..88b4d50975d77027239848f09c2b48506d1545fc 100644 (file)
 #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 )