diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-08 01:57:05 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-08 01:57:05 +0000 |
commit | 97cd982a3e9fb4691af3dc63fdd0c37720def513 (patch) | |
tree | f93d651419db3a3e7a0330f2f7ecc9840ffdfb3f /configure.in | |
parent | 719804b5df99feb8f8b871051d64bdd73524511f (diff) | |
download | ruby-97cd982a3e9fb4691af3dc63fdd0c37720def513.tar.gz |
* 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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
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 <sys/param.h> +@%:@endif]) AC_ARG_WITH([gmp], [AS_HELP_STRING([--without-gmp], |