diff options
author | 2008-11-10 21:42:57 +0000 | |
---|---|---|
committer | 2008-11-10 21:42:57 +0000 | |
commit | 2f65b0e4a6fa228869f0ca5b77cc840f9b3280ae (patch) | |
tree | 6c6dde3f80c2b8bad1d8496839e06f538f7d1de0 /headers.h | |
parent | libsandbox: detect static ELFs and warn when we try to execute them (diff) | |
download | sandbox-2f65b0e4a6fa228869f0ca5b77cc840f9b3280ae.tar.gz sandbox-2f65b0e4a6fa228869f0ca5b77cc840f9b3280ae.tar.bz2 sandbox-2f65b0e4a6fa228869f0ca5b77cc840f9b3280ae.zip |
check for backtrace and stdbool.h/elf.h/execinfo.h
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r-- | headers.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -15,9 +15,15 @@ #ifdef HAVE_DLFCN_H # include <dlfcn.h> #endif +#ifdef HAVE_ELF_H +# include <elf.h> +#endif #ifdef HAVE_ERRNO_H # include <errno.h> #endif +#ifdef HAVE_EXECINFO_H +# include <execinfo.h> +#endif #ifdef HAVE_FCNTL_H # include <fcntl.h> #endif @@ -36,6 +42,9 @@ #ifdef HAVE_STDARG_H # include <stdarg.h> #endif +#ifdef HAVE_STDBOOL_H +# include <stdbool.h> +#endif #ifdef HAVE_STDDEF_H # include <stddef.h> #endif |