summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-01 09:13:10 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-01 09:13:10 +0000
commit09125ff3d000a48509372391b19637c4c9815a62 (patch)
tree5053af73ed48b682a8a9603e4a54e7bc4da07aa8
parent3ed362106087644ca77dd093d912a7fed299513d (diff)
#include <sys/time.h> is needed for struct timeval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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