summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--missing.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 07cc5888b7..5d8819ca72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jun 10 22:54:26 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 ac499bd7d7..ecd357ef7d 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));