2006-07-27 07:48:41 -04:00
|
|
|
$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"
|
2005-03-13 15:40:38 -05:00
|
|
|
|
|
|
|
+#if defined(__OpenBSD__)
|
|
|
|
+ #undef VSF_BUILD_PAM
|
|
|
|
+ #undef VSF_SYSDEP_HAVE_SHADOW
|
2006-01-28 16:57:51 -05:00
|
|
|
+ #include <stdlib.h>
|
|
|
|
+ #define VSF_SYSDEP_HAVE_SETPROCTITLE
|
2005-03-13 15:40:38 -05:00
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#if (defined(__FreeBSD__) && __FreeBSD__ >= 3)
|
2006-07-27 07:48:41 -04:00
|
|
|
#define _FILE_OFFSET_BITS 64
|
|
|
|
#define _LARGEFILE_SOURCE 1
|