From: Brad Smith Date: Sun, 8 Aug 2010 23:58:51 +0000 (-0400) Subject: Also include sys/param.h when trying to detect the presence of sys/mount.h so that... X-Git-Tag: 1.2.0-pre1~5516 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3bc47647d909a49d80f06c6794eb54877523dc10;p=vlc Also include sys/param.h when trying to detect the presence of sys/mount.h so that the test works on OpenBSD, as documented by mount(2). Signed-off-by: RĂ©mi Denis-Courmont --- diff --git a/configure.ac b/configure.ac index e256ea0ac1..6833bd0614 100644 --- a/configure.ac +++ b/configure.ac @@ -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 #include ]) +AC_CHECK_HEADERS([sys/mount.h], [], [], + [ + #include + ]) 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])