summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-10 13:56:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-10 13:56:08 +0000
commit094144c60e84bc899c5960790bab270800dfabdc (patch)
treeb9ae7dce18c4d749e1c480fecef864c01bef9122
parentf88af8adf17a163afc4e1ba6ab5ec0846cacefac (diff)
downloadruby-094144c60e84bc899c5960790bab270800dfabdc.tar.gz
ruby-094144c60e84bc899c5960790bab270800dfabdc.tar.xz
ruby-094144c60e84bc899c5960790bab270800dfabdc.zip
* missing.h: fd_set stuffs need sys/types.h. fixed: [ruby-core:05179]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--missing.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b18332312..eb4aa06c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jun 10 22:54:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * missing.h: fd_set stuffs need sys/types.h. fixed: [ruby-core:05179]
+
Thu Jun 9 23:58:12 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/Win32API/Win32API.c (Win32API_Call): disable global
diff --git a/missing.h b/missing.h
index ac499bd7d..ecd357ef7 100644
--- a/missing.h
+++ b/missing.h
@@ -21,6 +21,9 @@ struct timeval {
time_t tv_usec; /* microseconds */
};
#endif
+#if defined(HAVE_SYS_TYPES_H)
+# include <sys/types.h>
+#endif
#ifndef HAVE_ACOSH
extern double acosh _((double));