summaryrefslogtreecommitdiff
path: root/sessreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sessreg.h')
-rw-r--r--sessreg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sessreg.h b/sessreg.h
index 0f6101a..cdc1ace 100644
--- a/sessreg.h
+++ b/sessreg.h
@@ -103,6 +103,13 @@
# define TTYS_FILE "/etc/ttys"
#endif
+#ifndef _PATH_WTMPX
+# define _PATH_WTMPX "/var/log/wtmp"
+#endif
+#ifndef _PATH_UTMPX
+# define _PATH_UTMPX "/var/log/utmp"
+#endif
+
#ifndef WTMPX_FILE
# define WTMPX_FILE _PATH_WTMPX
#endif