summaryrefslogtreecommitdiff
path: root/rubystub.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-20 05:58:58 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-20 05:58:58 (GMT)
commit33ae176ba72999807e3eb311c9d9418792e47502 (patch)
tree2c1156b4ac8435d896a48a6bab85c8328451a0d7 /rubystub.c
parent9b454bfaf3a3c37fd8ff83880fc88f3dc9375a8d (diff)
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 80b04d4..1b10cdd 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>