From 5458a384eaa22b3427dc81a2c8e4c4599123e805 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 27 Dec 2007 01:47:11 +0000 Subject: [PATCH] * ext/socket/socket.c: a patch to support IRIX from Andrew Thompson in [ruby-core:14447]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 2 +- ext/socket/socket.c | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cdd2f00d84..c4a5d642c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Dec 27 10:44:03 2007 Yukihiro Matsumoto + + * ext/socket/socket.c: a patch to support IRIX from Andrew + Thompson in [ruby-core:14447]. + Thu Dec 27 02:25:45 2007 NAKAMURA Usaku * lib/mkmf.rb (create_tmpsrc): retry to create file if Errno::EACCES diff --git a/configure.in b/configure.in index f0cdc2ee5a..82f85844e3 100644 --- a/configure.in +++ b/configure.in @@ -566,7 +566,7 @@ AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(stdlib.h string.h unistd.h 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 memory.h direct.h sys/resource.h \ - sys/mkdev.h sys/utime.h netinet/in_systm.h float.h ieeefp.h pthread.h \ + sys/mkdev.h sys/utime.h xti.h netinet/in_systm.h float.h ieeefp.h pthread.h \ ucontext.h intrinsics.h langinfo.h locale.h) dnl Check additional types. diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 29fa71f8ae..3db05df7c8 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -25,6 +25,10 @@ #include #endif +#ifdef HAVE_XTI_H +#include +#endif + #ifndef _WIN32 #if defined(__BEOS__) # include