summaryrefslogtreecommitdiff
path: root/xdmshell.c
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-14 22:58:25 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-14 22:58:25 +0000
commitb92f8751058bf2bc94967b84f71c4c88a5f007df (patch)
tree76be7cb6a5efd04c98ee19a63489a63c438c5bfe /xdmshell.c
parente3b9c2dfffb74fe0bb96c21c198b8f08dfff65f0 (diff)
Set HAS_VFORK if autoconf has set HAVE_WORKING_VFORK.XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15
Add #include "config.h" for modularization
Diffstat (limited to 'xdmshell.c')
-rw-r--r--xdmshell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xdmshell.c b/xdmshell.c
index 9c7e14d..b8f8ddd 100644
--- a/xdmshell.c
+++ b/xdmshell.c
@@ -57,6 +57,10 @@ in this Software without prior written authorization from The Open Group.
/*
* HP-UX does have vfork, but A/UX doesn't
*/
+#ifdef HAVE_WORKING_VFORK /* autoconf's preferred name */
+# define HAS_VFORK
+#endif
+
#ifndef HAS_VFORK
#define vfork() fork()
#endif