summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-26 18:55:41 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-26 18:55:41 +0000
commit0a80fbc1eb80343eaff27c48f9531f5ba709b6ef (patch)
treed7dedebff0b6bf50174f477c996a65b11d67fdb9
parent9a44d60cb031f1779c228f13697fb17e17df10d5 (diff)
Add config.h includes for modularization Use RETSIGTYPE if defined byXORG-6_8_99_900
autoconf in addition to Imake's SIGNALRETURNSINT. Use HAVE_WORKING_VFORK if defined by autoconf in addition to Imake's HAS_VFORK
-rw-r--r--Xtransutil.c6
1 files changed, 5 insertions, 1 deletions
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;