0c34af1a63
inputs & ok bernd@
18 lines
518 B
Plaintext
18 lines
518 B
Plaintext
$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 <stdlib.h>
|
|
+ #define VSF_SYSDEP_HAVE_SETPROCTITLE
|
|
+#endif
|
|
+
|
|
#if (defined(__FreeBSD__) && __FreeBSD__ >= 3)
|
|
#define _FILE_OFFSET_BITS 64
|
|
#define _LARGEFILE_SOURCE 1
|