about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-05 06:02:30 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-05 06:02:30 +0000
commitfc64ffe36d831c1a29a603a1a1ad50b7b68d55e8 (patch)
tree064792c804f1b7e68c7b2ec6be8b625754080b38
parente8b06376c21a74e3fc2e6e9ace4eda8b2359ab62 (diff)
downloadruby_io_splice-fc64ffe36d831c1a29a603a1a1ad50b7b68d55e8.tar.gz
It seems needed for Rubinius
-rw-r--r--ext/io_splice/io_splice_ext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/io_splice/io_splice_ext.c b/ext/io_splice/io_splice_ext.c
index b089fb1..5ee5cd0 100644
--- a/ext/io_splice/io_splice_ext.c
+++ b/ext/io_splice/io_splice_ext.c
@@ -4,6 +4,7 @@
 #else
 #  include "rubyio.h"
 #endif
+#include <errno.h>
 #include <fcntl.h>
 #include <assert.h>
 #include <sys/uio.h>