aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-08 07:35:32 -0400
committerMike Frysinger <vapier@gentoo.org>2009-03-08 09:11:14 -0400
commitd4dee0ebe39627e9d3b90c312f770d7ba73a46f5 (patch)
treeb5613010981c5561febfd3b6dd07076b375a5364 /headers.h
parentlibsandbox: handle symlinks properly (diff)
downloadsandbox-d4dee0ebe39627e9d3b90c312f770d7ba73a46f5.tar.gz
sandbox-d4dee0ebe39627e9d3b90c312f770d7ba73a46f5.tar.bz2
sandbox-d4dee0ebe39627e9d3b90c312f770d7ba73a46f5.zip
tests: add symlink tests and unify code
Add test cases for symlink behavior and unify some of the test code to make adding more test cases even easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r--headers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/headers.h b/headers.h
index 74fd7b7..823258d 100644
--- a/headers.h
+++ b/headers.h
@@ -27,6 +27,9 @@
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
+#ifdef HAVE_GRP_H
+# include <grp.h>
+#endif
#ifdef HAVE_LIBGEN_H
# include <libgen.h>
#endif
@@ -39,6 +42,9 @@
#ifdef HAVE_PTHREAD_H
# include <pthread.h>
#endif
+#ifdef HAVE_PWD_H
+# include <pwd.h>
+#endif
#ifdef HAVE_SIGINFO_H
# include <siginfo.h>
#endif