diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-06-15 09:52:36 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-06-15 09:52:36 +0000 |
commit | 2e793d057499345ecd86b2b88dee479419100ff2 (patch) | |
tree | ccf4482d83ffbabeb8b1541e584b4b85fb796d21 | |
parent | d9f7821498ab662460e9d87e7f5fa03bcb65384d (diff) | |
download | utmps-2e793d057499345ecd86b2b88dee479419100ff2.tar.gz utmps-2e793d057499345ecd86b2b88dee479419100ff2.tar.xz utmps-2e793d057499345ecd86b2b88dee479419100ff2.zip |
Add UTMPX_FILE macro to please coreutils and others
-rw-r--r-- | src/include/utmps/utmpx.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |