aboutsummaryrefslogtreecommitdiffstats
path: root/signal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-13 21:31:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-13 21:31:31 +0000
commit554da7feee561b96f652439d7693bc580d0112a7 (patch)
tree67074359d85b8f38bc281a51f8b298a460757c4e /signal.c
parent05459d1a33db59c47e98e327c9f52808ebc76a3f (diff)
downloadruby-554da7feee561b96f652439d7693bc580d0112a7.tar.gz
signal.c: include ucontext.h
* signal.c: include ucontext.h for ucontext_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index a0f9bff766..67990856ea 100644
--- a/signal.c
+++ b/signal.c
@@ -24,6 +24,9 @@
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
#endif
+#ifdef HAVE_UCONTEXT_H
+#include <ucontext.h>
+#endif
#ifdef HAVE_VALGRIND_MEMCHECK_H
# include <valgrind/memcheck.h>