From 2b6462f4d9886666ca735af6ead3c17a45ef55ba Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 4 Jul 2016 04:57:27 +0000 Subject: * process.c: define sig_t if not exist. at least Solaris 10 and 11 doesn't have sig_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'process.c') diff --git a/process.c b/process.c index 2938b9f578..905ec0e755 100644 --- a/process.c +++ b/process.c @@ -253,6 +253,9 @@ typedef unsigned long unsigned_clock_t; #elif defined(HAVE_LONG_LONG) && SIZEOF_CLOCK_T == SIZEOF_LONG_LONG typedef unsigned LONG_LONG unsigned_clock_t; #endif +#ifdef HAVE_SIG_T +typedef void (*sig_t) (int); +#endif static ID id_in, id_out, id_err, id_pid, id_uid, id_gid; static ID id_close, id_child; -- cgit v1.2.3