aboutsummaryrefslogtreecommitdiffstats
path: root/rubystub.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-20 05:58:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-20 05:58:58 +0000
commitc0040e9338e9fc040f82f24781917c64e845660c (patch)
tree2c1156b4ac8435d896a48a6bab85c8328451a0d7 /rubystub.c
parent152b70711b5f68271af6b6a95ae238e7305182e8 (diff)
downloadruby-c0040e9338e9fc040f82f24781917c64e845660c.tar.gz
rubystub.c: sys/param.h for MAXPATHLEN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubystub.c')
-rw-r--r--rubystub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rubystub.c b/rubystub.c
index 80b04d4b27..1b10cdd4c4 100644
--- a/rubystub.c
+++ b/rubystub.c
@@ -2,6 +2,9 @@
#if defined HAVE_DLADDR
#include <dlfcn.h>
#endif
+#if defined HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
static void* stub_options(int argc, char **argv);
#define ruby_options stub_options
#include <main.c>