diff options
Diffstat (limited to 'include/apr_want.h')
-rw-r--r-- | include/apr_want.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/apr_want.h b/include/apr_want.h index 5f7d8fb3a..b49af82dd 100644 --- a/include/apr_want.h +++ b/include/apr_want.h @@ -61,6 +61,7 @@ * APR_WANT_MEMFUNC: memcmp, memcpy, etc * APR_WANT_STDIO: <stdio.h> and related bits * APR_WANT_IOVEC: struct iovec + * APR_WANT_SIGNAL: signal numbers, functions, and types * * Typical usage: * @@ -122,3 +123,15 @@ #endif /* --------------------------------------------------------------------- */ + +#ifdef APR_WANT_SIGNAL + +#if APR_HAVE_SIGNAL_H +#include <signal.h> +#endif +/* ### some platforms may put this into unistd.h ?? */ + +#undef APR_WANT_SIGNAL +#endif + +/* --------------------------------------------------------------------- */ |