$OpenBSD: patch-sysdeputil_c,v 1.3 2006/07/27 11:48:41 aanriot Exp $ --- sysdeputil.c.orig Mon Jul 3 00:14:10 2006 +++ sysdeputil.c Wed Jul 26 10:00:48 2006 @@ -19,6 +19,13 @@ /* For Linux, this adds nothing :-) */ #include "port/porting_junk.h" +#if defined(__OpenBSD__) + #undef VSF_BUILD_PAM + #undef VSF_SYSDEP_HAVE_SHADOW + #include + #define VSF_SYSDEP_HAVE_SETPROCTITLE +#endif + #if (defined(__FreeBSD__) && __FreeBSD__ >= 3) #define _FILE_OFFSET_BITS 64 #define _LARGEFILE_SOURCE 1