summaryrefslogtreecommitdiff
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
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
-rw-r--r--dm.h6
-rw-r--r--xdmshell.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/dm.h b/dm.h
index 4c12494..7c60327 100644
--- a/dm.h
+++ b/dm.h
@@ -1,4 +1,4 @@
-/* $XdotOrg: xc/programs/xdm/dm.h,v 1.2 2004/04/23 19:54:42 eich Exp $ */
+/* $XdotOrg: xc/programs/xdm/dm.h,v 1.3 2004/12/15 20:49:08 herrb Exp $ */
/* $Xorg: dm.h,v 1.4 2001/02/09 02:05:40 xorgcvs Exp $ */
/*
@@ -41,6 +41,10 @@ from The Open Group.
#ifndef _DM_H_
#define _DM_H_ 1
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
#include <X11/Xmd.h>
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