From 0a80fbc1eb80343eaff27c48f9531f5ba709b6ef Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 26 Jul 2005 18:55:41 +0000 Subject: Add config.h includes for modularization Use RETSIGTYPE if defined by autoconf in addition to Imake's SIGNALRETURNSINT. Use HAVE_WORKING_VFORK if defined by autoconf in addition to Imake's HAS_VFORK --- Xtransutil.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Xtransutil.c') diff --git a/Xtransutil.c b/Xtransutil.c index cd22b68..f6818af 100644 --- a/Xtransutil.c +++ b/Xtransutil.c @@ -327,12 +327,16 @@ static jmp_buf env; #ifdef SIGALRM static volatile int nameserver_timedout = 0; -static +static +#ifdef RETSIGTYPE /* set by autoconf AC_TYPE_SIGNAL */ +RETSIGTYPE +#else /* Imake */ #ifdef SIGNALRETURNSINT int #else void #endif +#endif nameserver_lost(int sig) { nameserver_timedout = 1; -- cgit v1.2.3