diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | ext/socket/extconf.rb | 1 |
3 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,11 @@ +Sat Feb 16 08:42:58 2013 Tanaka Akira <[email protected]> + + * configure.in, ext/socket/extconf.rb: test netinet/in_systm.h in + ext/socket/extconf.rb instead of configure.in. + + Originally, netinet/in_systm.h is included for NextStep, OpenStep, + and Rhapsody. [ruby-core:1596] + Sat Feb 16 07:55:40 2013 Tanaka Akira <[email protected]> * configure.in: don't test xti.h here. diff --git a/configure.in b/configure.in index 245eabfb5e..4886791de2 100644 --- a/configure.in +++ b/configure.in @@ -946,7 +946,7 @@ AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(limits.h sys/file.h sys/ioctl.h sys/syscall.h\ fcntl.h sys/fcntl.h sys/select.h sys/time.h sys/times.h sys/param.h\ syscall.h pwd.h grp.h a.out.h utime.h direct.h sys/resource.h \ - sys/mkdev.h sys/utime.h netinet/in_systm.h float.h ieeefp.h \ + sys/mkdev.h sys/utime.h float.h ieeefp.h \ ucontext.h intrinsics.h langinfo.h locale.h sys/sendfile.h time.h \ net/socket.h sys/socket.h process.h sys/prctl.h) diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 2821c32805..a6d2af5bd5 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -31,6 +31,7 @@ end %w[ sys/feature_tests.h xti.h + netinet/in_systm.h arpa/inet.h netinet/tcp.h netinet/udp.h |