summaryrefslogtreecommitdiff
path: root/libc/stdlib/bsd_getpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/bsd_getpt.c')
-rw-r--r--libc/stdlib/bsd_getpt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/bsd_getpt.c b/libc/stdlib/bsd_getpt.c
index 9b93448bc..5f0f63f7a 100644
--- a/libc/stdlib/bsd_getpt.c
+++ b/libc/stdlib/bsd_getpt.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <unistd.h>
+#if defined __USE_BSD
libc_hidden_proto(open)
/* Experimentally off - libc_hidden_proto(mempcpy) */
@@ -76,3 +77,4 @@ __getpt (void)
__set_errno (ENOENT);
return -1;
}
+#endif