From 5b403d124c32c20fddc73bc5ae3c7e1febdf1bc4 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 3 May 2019 07:48:06 +0200 Subject: Fix missing defines _PATH_WTMPX/_PATH_UTMPX in musl Downloaded from https://cgit.gentoo.org/proj/musl.git/tree/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch Signed-off-by: Bernd Kuhls [Retrieved from: https://git.buildroot.net/buildroot/tree/package/x11r7/xapp_sessreg/0001-missing_path_wtmpx.patch] Signed-off-by: Fabrice Fontaine --- sessreg.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sessreg.h b/sessreg.h index 0f6101a..cdc1ace 100644 --- a/sessreg.h +++ b/sessreg.h @@ -103,6 +103,13 @@ # define TTYS_FILE "/etc/ttys" #endif +#ifndef _PATH_WTMPX +# define _PATH_WTMPX "/var/log/wtmp" +#endif +#ifndef _PATH_UTMPX +# define _PATH_UTMPX "/var/log/utmp" +#endif + #ifndef WTMPX_FILE # define WTMPX_FILE _PATH_WTMPX #endif -- cgit v1.2.3