ruby-changes:43901
From: nobu <ko1@a...>
Date: Sat, 20 Aug 2016 14:59:04 +0900 (JST)
Subject: [ruby-changes:43901] nobu:r55974 (trunk): rubystub.c: sys/param.h for MAXPATHLEN
nobu 2016-08-20 14:58:58 +0900 (Sat, 20 Aug 2016) New Revision: 55974 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55974 Log: rubystub.c: sys/param.h for MAXPATHLEN Modified files: trunk/rubystub.c Index: rubystub.c =================================================================== --- rubystub.c (revision 55973) +++ rubystub.c (revision 55974) @@ -2,6 +2,9 @@ https://github.com/ruby/ruby/blob/trunk/rubystub.c#L2 #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> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/