openbsd-ports/misc/splitvt/patches/patch-utmp_c
naddy 121408a09b - update to 1.6.5
- fix LP64 problems; fixes amd64 crash reported by Marcos Latas
2005-10-31 20:27:14 +00:00

14 lines
311 B
Plaintext

$OpenBSD: patch-utmp_c,v 1.1 2005/10/31 20:27:14 naddy Exp $
--- utmp.c.orig Mon Oct 31 21:10:02 2005
+++ utmp.c Mon Oct 31 21:10:14 2005
@@ -6,6 +6,9 @@
#include <fcntl.h>
#include <utmp.h>
#include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#ifdef DEBUG_UTMP
#undef UTMP_FILE