aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript/common/ext.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 18:38:20 +0000
committerrsc <devnull@localhost>2005-01-14 18:38:20 +0000
commit7ea6c4fcbedc5a8039ed91a4a5d77d7366109cd8 (patch)
tree238e72739d8214a197081ee84f4a641e1965b7b7 /src/cmd/postscript/common/ext.h
parent147e5e8702764582111967582c26190cd77b937e (diff)
downloadplan9port-7ea6c4fcbedc5a8039ed91a4a5d77d7366109cd8.tar.gz
plan9port-7ea6c4fcbedc5a8039ed91a4a5d77d7366109cd8.tar.bz2
plan9port-7ea6c4fcbedc5a8039ed91a4a5d77d7366109cd8.zip
try to fix sun
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;