summaryrefslogtreecommitdiff
path: root/sessreg.h
diff options
context:
space:
mode:
authorEd Schouten <ed@80386.nl>2012-09-15 20:11:20 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-12-16 11:59:30 -0800
commit8963bc3df6d3e9627c82171c3c931616f27fd528 (patch)
tree9d3f2e921e602e71051ca510ddd3bc575609e4e1 /sessreg.h
parent1d609a5daa3fa1553111076561a1f800e462156d (diff)
Place NetBSD specific #defines in the proper place.
For all the other databases (utmp, wtmp, lastlog) we already do it in sessreg.h. There's no reason why we should place the utmpx specific ones in sessreg.c. Signed-off-by: Ed Schouten <ed@80386.nl> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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 a5e7f83..0a0a209 100644
--- a/sessreg.h
+++ b/sessreg.h
@@ -106,3 +106,10 @@
#ifndef TTYS_FILE
# define TTYS_FILE "/etc/ttys"
#endif
+
+#ifndef WTMPX_FILE
+# define WTMPX_FILE _PATH_WTMPX
+#endif
+#ifndef UTMPX_FILE
+# define UTMPX_FILE _PATH_UTMPX
+#endif