From a96034cf101fd8623a854662a93e77a2ccbd6b0b Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 12 Apr 2015 00:01:11 +0000 Subject: * ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/-test-/file/fs.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 025569331c..85dbe684d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Apr 12 08:56:44 2015 Tanaka Akira + + * ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h. + Sun Apr 12 08:52:01 2015 Tanaka Akira * test/ruby/test_file_exhaustive.rb: Test suid, sgid and sticky file. diff --git a/ext/-test-/file/fs.c b/ext/-test-/file/fs.c index 1ab067e1b2..f0be84ad3b 100644 --- a/ext/-test-/file/fs.c +++ b/ext/-test-/file/fs.c @@ -1,6 +1,9 @@ #include "ruby/ruby.h" #include "ruby/io.h" +#ifdef HAVE_SYS_PARAM_H +#include +#endif #ifdef HAVE_SYS_MOUNT_H #include #endif -- cgit v1.2.3