-# $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
-# $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
-/* $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 */
#define os_strsignal strsignal
#define OS_STRSIGNAL
+#include <sys/param.h>
+
+#if __NetBSD_Version__ >= 299000900
+#define HAVE_SYS_STATVFS_H
+#endif
+
/* End */