diff options
author | 2009-02-05 01:52:40 -0500 | |
---|---|---|
committer | 2009-02-05 01:52:40 -0500 | |
commit | 0a6857ff4b2adbb3f27eccf724cfdc934ab918ea (patch) | |
tree | 79a60eb8eac9976543bc9da0740ca76e1b7882ac /headers.h | |
parent | libsandbox: detect linker flag for version scripts (diff) | |
download | sandbox-0a6857ff4b2adbb3f27eccf724cfdc934ab918ea.tar.gz sandbox-0a6857ff4b2adbb3f27eccf724cfdc934ab918ea.tar.bz2 sandbox-0a6857ff4b2adbb3f27eccf724cfdc934ab918ea.zip |
pull in siginfo.h when available
Some systems define psignal() in siginfo.h, so use it when available.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r-- | headers.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ #ifdef HAVE_MEMORY_H # include <memory.h> #endif +#ifdef HAVE_SIGINFO_H +# include <siginfo.h> +#endif #ifdef HAVE_SIGNAL_H # include <signal.h> #endif |