summaryrefslogtreecommitdiff
path: root/include/bsd/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bsd/getopt.h')
-rw-r--r--include/bsd/getopt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bsd/getopt.h b/include/bsd/getopt.h
index 699a00e..b0057cf 100644
--- a/include/bsd/getopt.h
+++ b/include/bsd/getopt.h
@@ -29,7 +29,12 @@
#define LIBBSD_GETOPT_H
#include <sys/cdefs.h>
+
+#ifdef LIBBSD_TRANSPARENT
+#include_next <getopt.h>
+#else
#include <getopt.h>
+#endif
__BEGIN_DECLS
extern int optreset;