about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-21 11:01:57 -0700
committerEric Wong <normalperson@yhbt.net>2011-03-21 11:01:57 -0700
commitf6af45add8c900b02f2b88617a765fa610fbe9aa (patch)
tree474db4c17efceda61ce3c41ce23e1a4166043906
parent877433494e4a848d6c6a10d0e6521061e6a10118 (diff)
downloadraindrops-f6af45add8c900b02f2b88617a765fa610fbe9aa.tar.gz
-rw-r--r--ext/raindrops/linux_inet_diag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/raindrops/linux_inet_diag.c b/ext/raindrops/linux_inet_diag.c
index 7f9caaa..573ffb8 100644
--- a/ext/raindrops/linux_inet_diag.c
+++ b/ext/raindrops/linux_inet_diag.c
@@ -15,6 +15,7 @@
 /* partial emulation of the 1.9 rb_thread_blocking_region under 1.8 */
 #ifndef HAVE_RB_THREAD_BLOCKING_REGION
 #  include <rubysig.h>
+#  define RUBY_UBF_IO ((rb_unblock_function_t *)-1)
 typedef void rb_unblock_function_t(void *);
 typedef VALUE rb_blocking_function_t(void *);
 static VALUE