diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-14 22:58:25 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-14 22:58:25 +0000 |
commit | b92f8751058bf2bc94967b84f71c4c88a5f007df (patch) | |
tree | 76be7cb6a5efd04c98ee19a63489a63c438c5bfe | |
parent | e3b9c2dfffb74fe0bb96c21c198b8f08dfff65f0 (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.h | 6 | ||||
-rw-r--r-- | xdmshell.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -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> @@ -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 |