Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
23414d63
Commit
23414d63
authored
Aug 06, 2009
by
Rémi Denis-Courmont
Browse files
Check for fstatfs (fixes: #3028)
parent
29b00f3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
23414d63
...
...
@@ -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>])
...
...
modules/access/file.c
View file @
23414d63
...
...
@@ -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 )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment