summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-13 21:31:31 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-13 21:31:31 (GMT)
commit554da7feee561b96f652439d7693bc580d0112a7 (patch)
tree67074359d85b8f38bc281a51f8b298a460757c4e /signal.c
parent05459d1a33db59c47e98e327c9f52808ebc76a3f (diff)
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 a0f9bff..6799085 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>