1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2013-05-14 15:44:14 +00:00
parent 1e5a64261f
commit ccf07bde23
2 changed files with 9 additions and 0 deletions

View file

@ -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.

View file

@ -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"