summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/m4/pathnames.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/m4/pathnames.h b/usr.bin/m4/pathnames.h
index 72f66d3..dc7f0d3 100644
--- a/usr.bin/m4/pathnames.h
+++ b/usr.bin/m4/pathnames.h
@@ -1,3 +1,6 @@
+/* $OpenBSD: pathnames.h,v 1.4 1997/04/04 18:41:29 deraadt Exp $ */
+/* $NetBSD: pathnames.h,v 1.6 1995/09/29 00:27:55 cgd Exp $ */
+
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -46,8 +49,8 @@
#define UNIQUE 3 /* unique char location */
#endif
-#ifdef unix
-#define _PATH_DIVNAME "/tmp/m4.0XXXXXX" /* unix diversion files */
+#if defined(unix) || defined(__NetBSD__) || defined(__OpenBSD__)
+#define _PATH_DIVNAME "/tmp/m4.0XXXXXXXXXX" /* unix diversion files */
#define UNIQUE 8 /* unique char location */
#endif
OpenPOWER on IntegriCloud