diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | signal.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Wed May 15 00:42:54 2013 NAKAMURA Usaku <usa@ruby-lang.org> + + * signal.c: need to include unistd.h for write(2). + unistd.h is now included via ruby/defines.h, but should implicitly + include here. (suggested by kosaki) + Tue May 14 23:43:05 2013 Tanaka Akira <akr@fsij.org> * ext/socket/.document: Add ifaddr.c. @@ -19,6 +19,9 @@ #include "ruby_atomic.h" #include "eval_intern.h" #include "internal.h" +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif #if defined(__native_client__) && defined(NACL_NEWLIB) # include "nacl/signal.h" |