summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-26 18:55:42 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-26 18:55:42 +0000
commitc911c36dadcb8070fbdf94d7f9eef494e18b5094 (patch)
tree644f25afde7d86cc93cb8507403594f1c8adddb5 /process.c
parent055e01c0756e6aa8603169dd104cdd2153d2b749 (diff)
Add config.h includes for modularization Use RETSIGTYPE if defined byXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901XORG-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
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/process.c b/process.c
index 4f938b7..f149941 100644
--- a/process.c
+++ b/process.c
@@ -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)))