aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-20 20:14:44 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-20 20:14:44 -0400
commit3f593b47e284cd9defa15e19a37357c3e31b1b7f (patch)
tree6fef76decd56b2268ff40d392231334dfeee50bb /headers.h
parenttests: avoid overflowing exit codes (diff)
downloadsandbox-3f593b47e284cd9defa15e19a37357c3e31b1b7f.tar.gz
sandbox-3f593b47e284cd9defa15e19a37357c3e31b1b7f.tar.bz2
sandbox-3f593b47e284cd9defa15e19a37357c3e31b1b7f.zip
sandbox: add proper option parsing
This lays the groundwork for adding more runtime options. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r--headers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/headers.h b/headers.h
index 1dc140e..458958b 100644
--- a/headers.h
+++ b/headers.h
@@ -29,6 +29,9 @@
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
+#ifdef HAVE_GETOPT_H
+# include <getopt.h>
+#endif
#ifdef HAVE_GRP_H
# include <grp.h>
#endif