]> git.sesse.net Git - vlc/commitdiff
Also include sys/param.h when trying to detect the presence of sys/mount.h so that...
authorBrad Smith <brad@comstyle.com>
Sun, 8 Aug 2010 23:58:51 +0000 (19:58 -0400)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 9 Aug 2010 15:47:02 +0000 (18:47 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
configure.ac

index e256ea0ac1aa36f946c6a3ed157a201cf2b375c4..6833bd061470b776fa4f33015ef50da4ed5d6e2c 100644 (file)
@@ -800,13 +800,17 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
 
 dnl Check for headers
 AC_CHECK_HEADERS(getopt.h strings.h locale.h xlocale.h)
-AC_CHECK_HEADERS(fcntl.h sys/time.h sys/ioctl.h sys/stat.h sys/mount.h)
+AC_CHECK_HEADERS(fcntl.h sys/time.h sys/ioctl.h sys/stat.h)
 AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h sys/eventfd.h])
 AC_CHECK_HEADERS([net/if.h], [], [],
   [
     #include <sys/types.h>
     #include <sys/socket.h>
   ])
+AC_CHECK_HEADERS([sys/mount.h], [], [],
+  [
+    #include <sys/param.h>
+  ])
 if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
 AC_CHECK_HEADERS(machine/param.h sys/shm.h)
 AC_CHECK_HEADERS([linux/version.h linux/dccp.h scsi/scsi.h linux/magic.h])