From 4d9c3e57c7decda537f4dab71b4d0880514334f6 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Wed, 27 Jun 2007 08:46:28 +0000 Subject: NetBSD-specific configuration patches from David Brownlee. --- src/OS/Makefile-NetBSD | 4 ++-- src/OS/Makefile-NetBSD-a.out | 4 ++-- src/OS/os.h-NetBSD | 8 +++++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/OS/Makefile-NetBSD b/src/OS/Makefile-NetBSD index 1e7cbc127..675345504 100644 --- a/src/OS/Makefile-NetBSD +++ b/src/OS/Makefile-NetBSD @@ -1,9 +1,9 @@ -# $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.2 2005/05/23 16:58:55 fanf2 Exp $ +# $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.3 2007/06/27 08:46:28 ph10 Exp $ # Exim: OS-specific make file for NetBSD (ELF object format) CHOWN_COMMAND=/usr/sbin/chown -CFLAGS=-O +CFLAGS?=-O2 HAVE_SA_LEN=YES HAVE_IPV6=YES diff --git a/src/OS/Makefile-NetBSD-a.out b/src/OS/Makefile-NetBSD-a.out index 350689d2e..91ad7a6f2 100644 --- a/src/OS/Makefile-NetBSD-a.out +++ b/src/OS/Makefile-NetBSD-a.out @@ -1,9 +1,9 @@ -# $Cambridge: exim/src/OS/Makefile-NetBSD-a.out,v 1.2 2005/05/23 16:58:55 fanf2 Exp $ +# $Cambridge: exim/src/OS/Makefile-NetBSD-a.out,v 1.3 2007/06/27 08:46:28 ph10 Exp $ # Exim: OS-specific make file for NetBSD (a.out/COFF object format) CHOWN_COMMAND=/usr/sbin/chown -CFLAGS=-O +CFLAGS?=-O2 HAVE_SA_LEN=YES HAVE_IPV6=YES diff --git a/src/OS/os.h-NetBSD b/src/OS/os.h-NetBSD index 2edcad972..1d6d07070 100644 --- a/src/OS/os.h-NetBSD +++ b/src/OS/os.h-NetBSD @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/OS/os.h-NetBSD,v 1.3 2006/03/16 12:25:24 ph10 Exp $ */ +/* $Cambridge: exim/src/OS/os.h-NetBSD,v 1.4 2007/06/27 08:46:28 ph10 Exp $ */ /* Exim: OS-specific C header file for NetBSD */ @@ -12,4 +12,10 @@ typedef struct flock flock_t; #define os_strsignal strsignal #define OS_STRSIGNAL +#include + +#if __NetBSD_Version__ >= 299000900 +#define HAVE_SYS_STATVFS_H +#endif + /* End */ -- cgit v1.2.3