diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-20 05:58:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-20 05:58:58 +0000 |
commit | 33ae176ba72999807e3eb311c9d9418792e47502 (patch) | |
tree | 2c1156b4ac8435d896a48a6bab85c8328451a0d7 | |
parent | 9b454bfaf3a3c37fd8ff83880fc88f3dc9375a8d (diff) | |
download | ruby-33ae176ba72999807e3eb311c9d9418792e47502.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
-rw-r--r-- | rubystub.c | 3 |
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> |