summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gzip/getopt.c')
-rw-r--r--gnu/usr.bin/gzip/getopt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/gzip/getopt.c b/gnu/usr.bin/gzip/getopt.c
index 3bf0277..9971e7b 100644
--- a/gnu/usr.bin/gzip/getopt.c
+++ b/gnu/usr.bin/gzip/getopt.c
@@ -34,6 +34,11 @@ char *alloca ();
#endif /* alloca.h */
#endif /* not __GNUC__ */
+/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>. */
+#ifndef _NO_PROTO
+# define _NO_PROTO
+#endif
+
#include <stdio.h>
#if defined(USG) || defined(STDC_HEADERS) || defined(__GNU_LIBRARY__)
OpenPOWER on IntegriCloud