diff -ur a/utmp.c b/utmp.c
--- a/utmp.c	2024-08-29 09:46:14.655729962 +0000
+++ b/utmp.c	2024-08-29 09:47:54.248164818 +0000
@@ -35,6 +35,7 @@
 #include <fcntl.h>
 #include <stdint.h>
 #include <stdbool.h>
+#include <signal.h>
 
 #include "screen.h"