mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 03:19:39 +08:00
23 lines
626 B
Diff
23 lines
626 B
Diff
diff --git a/loginrec.c b/loginrec.c
|
|
index 45f13dee8b1f..7b1818b86753 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
|