From: Philip Hazel Date: Wed, 27 Jun 2007 08:46:28 +0000 (+0000) Subject: NetBSD-specific configuration patches from David Brownlee. X-Git-Tag: exim-4_68~29 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/4d9c3e57c7decda537f4dab71b4d0880514334f6 NetBSD-specific configuration patches from David Brownlee. --- 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 */