aboutsummaryrefslogtreecommitdiff
path: root/patches/shadow/shadow-utmp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/shadow/shadow-utmp.patch')
-rw-r--r--patches/shadow/shadow-utmp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/shadow/shadow-utmp.patch b/patches/shadow/shadow-utmp.patch
new file mode 100644
index 0000000..db5e479
--- /dev/null
+++ b/patches/shadow/shadow-utmp.patch
@@ -0,0 +1,11 @@
+diff -Naur build-i686/native/shadow-4.14.2.copy/lib/user_busy.c src/shadow-4.14.2/lib/user_busy.c
+--- shadow-4.14.2.copy/lib/user_busy.c 2023-11-27 23:37:31.067406127 -0500
++++ shadow-4.14.2/lib/user_busy.c 2023-11-27 23:37:08.507284180 -0500
+@@ -17,6 +17,7 @@
+ #include <dirent.h>
+ #include <fcntl.h>
+ #include <unistd.h>
++#include <utmp.h>
+ #include "defines.h"
+ #include "prototypes.h"
+ #ifdef ENABLE_SUBIDS