summaryrefslogtreecommitdiff
path: root/ext/-test-/gvl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-14 23:23:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-14 23:23:48 +0000
commitefb9a0fc181e3fec11f51cae405bf261e4fe0697 (patch)
tree47aa80bca7c276045f4dfc8134ea22fa71fd0999 /ext/-test-/gvl
parent03ced98dfecbdce5c651aa57047ebe178554b115 (diff)
call_without_gvl.c: no sys/select.h
* ext/-test-/gvl/call_without_gvl/call_without_gvl.c: sys/select.h is included by ruby/define.h if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/gvl')
-rw-r--r--ext/-test-/gvl/call_without_gvl/call_without_gvl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/-test-/gvl/call_without_gvl/call_without_gvl.c b/ext/-test-/gvl/call_without_gvl/call_without_gvl.c
index 0ee64a24ac..f3071d5768 100644
--- a/ext/-test-/gvl/call_without_gvl/call_without_gvl.c
+++ b/ext/-test-/gvl/call_without_gvl/call_without_gvl.c
@@ -1,6 +1,5 @@
#include "ruby/ruby.h"
#include "ruby/thread.h"
-#include <sys/select.h>
static void*
native_sleep_callback(void *data)