about summary refs log tree commit diff
path: root/include/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/getopt.h')
-rw-r--r--include/getopt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/getopt.h b/include/getopt.h
index 7a35c8a20b..70e790b396 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -2,7 +2,14 @@
 
 #include <posix/getopt.h>
 
+# ifdef _GETOPT_H
+
+libc_hidden_proto (getopt_long)
+libc_hidden_proto (getopt_long_only)
+
 /* Now define the internal interfaces.  */
 extern void __getopt_clean_environment (char **__env);
 
+# endif
+
 #endif