openbsd-ports/misc/splitvt/patches/patch-utmp_c
2007-09-16 20:58:19 +00:00

14 lines
313 B
Plaintext

$OpenBSD: patch-utmp_c,v 1.2 2007/09/16 20:58:19 jasper Exp $
--- utmp.c.orig Sun Sep 16 21:57:10 2007
+++ utmp.c Sun Sep 16 21:57:29 2007
@@ -7,6 +7,9 @@
#include <utmp.h>
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#ifdef DEBUG_UTMP
#undef UTMP_FILE