diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-04-02 23:03:46 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-04-02 23:03:46 +0200 |
commit | 86a7f18f211af1abda5c855d2674b0fcb53de524 (patch) | |
tree | 9fd1eadb83bf48b29e9468ea8ff0e43c0736c245 /include/libbb.h | |
parent | 1186894f773e13ab9ca2b3e05a194e9b88796fbe (diff) |
*: Switch to POSIX utmpx API
UTMP is SVID legacy, UTMPX is mandated by POSIX.
Glibc and uClibc have identical layout of UTMP and UTMPX, both of these
libc treat _PATH_UTMPX as _PATH_UTMP so from a user-perspective nothing
changes except the names of the API entrypoints.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 26b686805..0f8363b78 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -84,7 +84,7 @@ # include <selinux/av_permissions.h> #endif #if ENABLE_FEATURE_UTMP -# include <utmp.h> +# include <utmpx.h> #endif #if ENABLE_LOCALE_SUPPORT # include <locale.h> |