summaryrefslogtreecommitdiff
path: root/devel/error/patches/patch-pathnames.h
blob: a45d9ff55e16a0d70f3607b312c08d33475dc38a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-pathnames.h,v 1.1 2014/02/09 16:48:42 wiedi Exp $

don't include paths.h on SunOS
--- pathnames.h.orig	2005-05-10 20:48:24.000000000 +0000
+++ pathnames.h
@@ -31,7 +31,12 @@
  *	@(#)pathnames.h	8.1 (Berkeley) 6/6/93
  */
 
-#include <paths.h>
+#if defined(__sun)
+# define _PATH_TTY   "/dev/tty"
+# define _PATH_TMP   "/tmp/"
+#else
+# include <paths.h>
+#endif
 
 #define	IG_FILE1	"llib-lc"
 #define	IG_FILE2	"llib-port"