summaryrefslogtreecommitdiff
path: root/lang/ruby16-shim-ruby18/files/patch-wait.c
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-11-01 09:15:51 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-11-01 09:15:51 +0000
commitbbb20a49f4b4cdbf8e82db48d8f5409b114e2e88 (patch)
treec9ed2a473687452035eb3162e4d25f607c75ed8b /lang/ruby16-shim-ruby18/files/patch-wait.c
parent. Unbreak compilation on 5.x (gcc 3.3). (diff)
Fix build on 4-STABLE. Sorry.
Reported by: many
Notes
Notes: svn path=/head/; revision=92771
Diffstat (limited to '')
-rw-r--r--lang/ruby16-shim-ruby18/files/patch-wait.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/ruby16-shim-ruby18/files/patch-wait.c b/lang/ruby16-shim-ruby18/files/patch-wait.c
new file mode 100644
index 000000000000..06686ee2cbea
--- /dev/null
+++ b/lang/ruby16-shim-ruby18/files/patch-wait.c
@@ -0,0 +1,25 @@
+Index: ext/io/wait/wait.c
+===================================================================
+RCS file: /src/shim/ruby16/ext/io/wait/wait.c,v
+retrieving revision 1.1
+retrieving revision 1.2
+diff -u -r1.1 -r1.2
+--- ext/io/wait/wait.c 19 Oct 2003 20:40:52 -0000 1.1
++++ ext/io/wait/wait.c 1 Nov 2003 09:09:35 -0000 1.2
+@@ -3,7 +3,7 @@
+ io/wait.c -
+
+ $Author: knu $
+- $Date: 2003/10/19 20:40:52 $
++ $Date: 2003/11/01 09:09:35 $
+ created at: Tue Aug 28 09:08:06 JST 2001
+
+ All the files in this distribution are covered under the Ruby's
+@@ -14,6 +14,7 @@
+ #include "ruby.h"
+ #include "rubyio.h"
+
++#include <sys/time.h>
+ #include <sys/types.h>
+ #include FIONREAD_HEADER
+