$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 #include #include +#ifdef HAVE_UNISTD_H +#include +#endif #ifdef DEBUG_UTMP #undef UTMP_FILE