[openssh-commits] [openssh] 02/04: build construct_utmp() when USE_BTMP is set
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Sep 25 11:34:02 AEST 2024
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch V_9_9
in repository openssh.
commit 2c12ae8cf9b0b7549ae097c4123abeda0ee63e5b
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Wed Sep 25 11:13:05 2024 +1000
build construct_utmp() when USE_BTMP is set
Fixes compile error on Void Linux/Musl
---
loginrec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/loginrec.c b/loginrec.c
index 45f13dee..7b1818b8 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -614,7 +614,7 @@ line_abbrevname(char *dst, const char *src, int dstsize)
** into account.
**/
-#if defined(USE_UTMP) || defined (USE_WTMP) || defined (USE_LOGIN)
+#if defined(USE_BTMP) || defined(USE_UTMP) || defined (USE_WTMP) || defined (USE_LOGIN)
/* build the utmp structure */
void
@@ -698,7 +698,7 @@ construct_utmp(struct logininfo *li,
}
# endif
}
-#endif /* USE_UTMP || USE_WTMP || USE_LOGIN */
+#endif /* USE_BTMP || USE_UTMP || USE_WTMP || USE_LOGIN */
/**
** utmpx utility functions
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list