summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;