summaryrefslogtreecommitdiff
path: root/ext/-test-
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-12 00:01:11 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-12 00:01:11 +0000
commita96034cf101fd8623a854662a93e77a2ccbd6b0b (patch)
treeec7c2d70e2a8f7b3a075b2f359b603d7f6897c71 /ext/-test-
parentd51b836fddad3387e1ecd6441091466d9b2bb94a (diff)
* 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
Diffstat (limited to 'ext/-test-')
-rw-r--r--ext/-test-/file/fs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/-test-/file/fs.c b/ext/-test-/file/fs.c
index 1ab067e..f0be84a 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