* [PATCH] Add _PATH_{U,W}TMPX macros.
@ 2016-06-01 8:09 Masanori Ogino
0 siblings, 0 replies; only message in thread
From: Masanori Ogino @ 2016-06-01 8:09 UTC (permalink / raw)
To: musl; +Cc: Masanori Ogino
Since /[uw]tmpx?/ are not supported by musl, this change just suppresses
some compilation errors with applications relying on them.
Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
---
include/utmp.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/utmp.h b/include/utmp.h
index 48a400d..114cdda 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -40,6 +40,8 @@ int login_tty(int);
#define _PATH_UTMP "/dev/null/utmp"
#define _PATH_WTMP "/dev/null/wtmp"
+#define _PATH_UTMPX _PATH_UTMP
+#define _PATH_WTMPX _PATH_WTMP
#define UTMP_FILE _PATH_UTMP
#define WTMP_FILE _PATH_WTMP
#define UTMP_FILENAME _PATH_UTMP
--
2.7.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-01 8:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-01 8:09 [PATCH] Add _PATH_{U,W}TMPX macros Masanori Ogino
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).