From 2e793d057499345ecd86b2b88dee479419100ff2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 15 Jun 2018 09:52:36 +0000 Subject: Add UTMPX_FILE macro to please coreutils and others --- src/include/utmps/utmpx.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/utmps/utmpx.h b/src/include/utmps/utmpx.h index d0f3457..450d54a 100644 --- a/src/include/utmps/utmpx.h +++ b/src/include/utmps/utmpx.h @@ -69,6 +69,9 @@ extern void logwtmp (char const *, char const *, char const *) ; #define UT_NAMESIZE UTMPS_UT_NAMESIZE #define UT_HOSTSIZE UTMPS_UT_HOSTSIZE +/* Unused, but some packages require this macro to be present */ +#define UTMPX_FILE "/run/utmps/utmp" + #ifdef __cplusplus } #endif -- cgit v1.2.3