[vlc-devel] commit: sys/mount.h requires sys/param.h on OpenBSD ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Aug 3 17:10:50 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug  3 18:09:32 2009 +0300| [a6fb7aec3da0f3d064239fb0542010efd3d7e63c] | committer: Rémi Denis-Courmont 

sys/mount.h requires sys/param.h on OpenBSD

Pointed-out-by: Taylor Venable
(cherry picked from commit fef190ef26ace9bda71f4b68d02a9f8969a86718)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6fb7aec3da0f3d064239fb0542010efd3d7e63c
---

 modules/access/file.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index 689837f..4e90071 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -52,6 +52,7 @@
 #   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




More information about the vlc-devel mailing list