diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-12 00:01:11 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-12 00:01:11 +0000 |
commit | a96034cf101fd8623a854662a93e77a2ccbd6b0b (patch) | |
tree | ec7c2d70e2a8f7b3a075b2f359b603d7f6897c71 | |
parent | d51b836fddad3387e1ecd6441091466d9b2bb94a (diff) | |
download | ruby-a96034cf101fd8623a854662a93e77a2ccbd6b0b.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/-test-/file/fs.c | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sun Apr 12 08:56:44 2015 Tanaka Akira <akr@fsij.org> + + * ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h. + Sun Apr 12 08:52:01 2015 Tanaka Akira <akr@fsij.org> * 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 <sys/param.h> +#endif #ifdef HAVE_SYS_MOUNT_H #include <sys/mount.h> #endif |