summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gnu/getopt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gnu/getopt.h b/src/gnu/getopt.h
index b0147e9d..09da8572 100644
--- a/src/gnu/getopt.h
+++ b/src/gnu/getopt.h
@@ -150,7 +150,9 @@ extern int _getopt_internal (int __argc, char *const *__argv,
int __long_only);
# endif
#else /* not __STDC__ */
-extern int getopt ();
+/* The declaration below leads to a prototype mismatch with
+ IBM XL C/C++ for AIX, V11.1 (5724-X13), Version: 11.01.0000.0005 */
+/* extern int getopt (); */
# ifndef __need_getopt
extern int getopt_long ();
extern int getopt_long_only ();