diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-26 18:55:42 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-26 18:55:42 +0000 |
commit | a7a9f78c85b1719bf77e40726eab68258bd5c662 (patch) | |
tree | c43bef81852b16410485bbe751fd614271f5deff /include | |
parent | 369b37b48b2b207911a71ccc88db11baaeaf40c4 (diff) |
Add config.h includes for modularization Use RETSIGTYPE if defined byXORG-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 'include')
-rw-r--r-- | include/util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index f7d073b..178459e 100644 --- a/include/util.h +++ b/include/util.h @@ -51,11 +51,19 @@ in this Software without prior written authorization from The Open Group. #ifndef _UTIL_H_ #define _UTIL_H_ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#ifdef RETSIGTYPE /* autoconf AC_TYPE_SIGNAL */ +# define SIGVAL RETSIGTYPE +#else /* Imake */ #ifdef SIGNALRETURNSINT #define SIGVAL int #else #define SIGVAL void #endif +#endif /* RETSIGTYPE */ typedef SIGVAL (*OsSigHandlerPtr)( int /* sig */ |