summaryrefslogtreecommitdiffstats
path: root/src/cmd/postscript/common/gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/postscript/common/gen.h')
-rw-r--r--src/cmd/postscript/common/gen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/postscript/common/gen.h b/src/cmd/postscript/common/gen.h
index ba8cbbac..dffeb957 100644
--- a/src/cmd/postscript/common/gen.h
+++ b/src/cmd/postscript/common/gen.h
@@ -7,6 +7,10 @@
#define PROGRAMVERSION "3.3.2"
+/* XXX: replace tempnam with something safer, but leaky */
+extern char* safe_tempnam(char*, char*);
+#define tempnam safe_tempnam
+
#define NON_FATAL 0
#define FATAL 1
#define USER_FATAL 2