aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-10 21:42:57 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-10 21:42:57 +0000
commit2f65b0e4a6fa228869f0ca5b77cc840f9b3280ae (patch)
tree6c6dde3f80c2b8bad1d8496839e06f538f7d1de0 /headers.h
parentlibsandbox: detect static ELFs and warn when we try to execute them (diff)
downloadsandbox-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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/headers.h b/headers.h
index 237de25..9e2f15a 100644
--- a/headers.h
+++ b/headers.h
@@ -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