]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/utmp.c: Add explicit include <stdlib.h> for free() and other functions
authorEvgeny Grin (Karlson2k) <k2k@drgrin.dev>
Mon, 11 Aug 2025 00:50:30 +0000 (02:50 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Mon, 11 Aug 2025 08:18:19 +0000 (10:18 +0200)
Signed-off-by: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
lib/utmp.c

index 931c876e66dbd63a8e15a494523e3e60b70a6bab..f4d0783e825ad080dad2c60edcd5b1b2bf28db43 100644 (file)
@@ -21,6 +21,7 @@
 #include <sys/socket.h>
 #include <netdb.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>