From 97cd982a3e9fb4691af3dc63fdd0c37720def513 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 8 May 2014 01:57:05 +0000 Subject: * configure.in: OpenBSD needs to include sys/param.h before include sys/mount.h. [ruby-dev:48167] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 57bb40086a..e50e717d46 100644 --- a/configure.in +++ b/configure.in @@ -1121,7 +1121,6 @@ AC_CHECK_HEADERS( \ sys/syscall.h \ fcntl.h \ sys/fcntl.h \ - sys/mount.h \ sys/select.h \ sys/time.h \ sys/times.h \ @@ -1155,6 +1154,9 @@ AC_CHECK_HEADERS( \ malloc/malloc.h \ setjmpex.h ) +AC_CHECK_HEADERS(sys/mount.h, [], [], [@%:@ifdef HAVE_SYS_PARAM_H +@%:@ include +@%:@endif]) AC_ARG_WITH([gmp], [AS_HELP_STRING([--without-gmp], -- cgit v1.2.3