blob: 67addf493faa386bb55ae1c76f20fc539927b517 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ad,v 1.1 2002/05/12 21:21:32 wiz Exp $
--- src/rxvt.h.orig Sat May 4 08:47:56 2002
+++ src/rxvt.h
@@ -549,11 +549,13 @@
#ifdef WTMP_SUPPORT
# ifdef HAVE_UTMPX_H /* means we're on Solaris (or Irix?) */
# undef WTMP_FILENAME
-# if defined(WTMPX_FILE) || defined(_WTMPX_FILE)
+# if defined(WTMPX_FILE) || defined(_WTMPX_FILE) || defined(_PATH_WTMPX)
# if defined(WTMPX_FILE)
# define WTMP_FILENAME WTMPX_FILE
-# else
+# elif defined(_WTMPX_FILE)
# define WTMP_FILENAME _WTMPX_FILE
+# else
+# define WTMP_FILENAME _PATH_WTMPX
# endif
# define update_wtmp updwtmpx
# else
|