summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/io/wait/wait.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index eb72eacc113..3e4c25364b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Nov 1 18:11:18 2003 Akinori MUSHA <knu@iDaemons.org>
+
+ * ext/io/wait/wait.c: #include <sys/time.h> is needed for struct
+ timeval.
+
Sat Nov 1 01:49:03 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* lib/soap/mapping/factory.rb: mark marshalled basetype objects when
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index 53d5bd7d182..417841a8a18 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -14,6 +14,7 @@
#include "ruby.h"
#include "rubyio.h"
+#include <sys/time.h>
#include <sys/types.h>
#include FIONREAD_HEADER