diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-03-05 21:03:37 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-03-05 21:03:37 +0000 |
commit | ba70c199b2abbe315f4b4bc5faeff28716895a1a (patch) | |
tree | 11985b8bfc5657dcda0caa98e316583cbdecd36f /app/sessreg/sessreg.h | |
parent | 5ffac7cd5e5bfadea29d238ba6b0bec2f069657f (diff) |
Update to sessreg 1.0.8
Diffstat (limited to 'app/sessreg/sessreg.h')
-rw-r--r-- | app/sessreg/sessreg.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/app/sessreg/sessreg.h b/app/sessreg/sessreg.h index a5e7f83c8..be1926ea0 100644 --- a/app/sessreg/sessreg.h +++ b/app/sessreg/sessreg.h @@ -75,13 +75,6 @@ # define USE_LASTLOG #endif -#ifdef CSRG_BASED -#if !defined(__FreeBSD__) && !defined(__OpenBSD__) -/* *BSD doesn't like a ':0' type entry in utmp */ -#define NO_UTMP -#endif -#endif - #ifndef WTMP_FILE # ifdef _PATH_WTMP # define WTMP_FILE _PATH_WTMP @@ -106,3 +99,12 @@ #ifndef TTYS_FILE # define TTYS_FILE "/etc/ttys" #endif + +#ifdef USE_UTMPX +#ifndef WTMPX_FILE +# define WTMPX_FILE _PATH_WTMPX +#endif +#ifndef UTMPX_FILE +# define UTMPX_FILE _PATH_UTMPX +#endif +#endif |