diff options
-rw-r--r-- | sessreg.c | 6 | ||||
-rw-r--r-- | sessreg.h | 7 |
2 files changed, 7 insertions, 6 deletions
@@ -99,12 +99,6 @@ static const char *wtmpx_file = NULL; static const char *utmpx_file = NULL; #endif #endif -#ifndef WTMPX_FILE -#define WTMPX_FILE _PATH_WTMPX -#endif -#ifndef UTMPX_FILE -#define UTMPX_FILE _PATH_UTMPX -#endif static int utmp_none, wtmp_none; /* @@ -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 |