diff options
-rw-r--r-- | iceauth.h | 4 | ||||
-rw-r--r-- | process.c | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -29,6 +29,10 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/iceauth/iceauth.h,v 3.4 2001/07/25 15:05:13 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <stdio.h> #include <X11/Xos.h> #include <X11/ICE/ICElib.h> @@ -492,11 +492,15 @@ static Bool iceauth_allowed = True; /* if allowed to write auth file */ static char *iceauth_filename = NULL; static volatile Bool dieing = False; +#ifdef RETSIGTYPE /* autoconf AC_TYPE_SIGNAL */ +# define _signal_t RETSIGTYPE +#else /* Imake */ #ifdef SIGNALRETURNSINT #define _signal_t int #else #define _signal_t void #endif +#endif /* RETSIGTYPE */ /* poor man's puts(), for under signal handlers */ #define WRITES(fd, S) (void)write((fd), (S), strlen((S))) |