Bug fix for yesterday's change, which worked in a production system
[users/jgh/exim.git] / src / OS / os.h-NetBSD
index 2edcad9723cdb2c644b18c59f8dfa8820f6d9d1c..27e09e3489dd051d69ee4ae012bbe71c0e9b7dc0 100644 (file)
@@ -1,15 +1,23 @@
-/* $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.6 2009/11/16 19:15:36 nm4 Exp $ */
 
 /* Exim: OS-specific C header file for NetBSD */
 
 #define HAVE_BSD_GETLOADAVG
+#define HAVE_GETIFADDRS
 #define HAVE_MMAP
 #define HAVE_SYS_MOUNT_H
 #define SIOCGIFCONF_GIVES_ADDR
+#define HAVE_ARC4RANDOM
 
 typedef struct flock flock_t;
 
 #define os_strsignal strsignal
 #define OS_STRSIGNAL
 
+#include <sys/param.h>
+
+#if __NetBSD_Version__ >= 299000900
+#define HAVE_SYS_STATVFS_H
+#endif
+
 /* End */