summaryrefslogtreecommitdiffstats
path: root/src/cmd/postscript/common/ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/postscript/common/ext.h')
-rw-r--r--src/cmd/postscript/common/ext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/postscript/common/ext.h b/src/cmd/postscript/common/ext.h
index 86b98da5..77635b6b 100644
--- a/src/cmd/postscript/common/ext.h
+++ b/src/cmd/postscript/common/ext.h
@@ -24,6 +24,8 @@ extern double pagewidth;
extern int reading; /* input */
extern int writing; /* and output encoding */
+#define getopt ps_getopt
+int getopt(int, char**, char*);
extern char *optarg; /* for getopt() */
extern int optind;