summaryrefslogtreecommitdiffstats
path: root/utils/mg/patches/902-fix_for_gcc14.patch
blob: 0f2b6ee2103176a8754e9f5d7a801b188df39379 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/main.c
+++ b/main.c
@@ -18,6 +18,7 @@
 #include <unistd.h>
 #if defined(__linux__) || defined(__CYGWIN__)
 #include <pty.h>
+#include <utmp.h>
 #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
 #include <util.h>
 #else