From 39ce00b8d520cbecbd6af87257e8fb11df0ec273 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 11:44:07 +0200 Subject: Adding upstream version 4.94.2. Signed-off-by: Daniel Baumann --- OS/unsupported/os.h-NetBSD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 OS/unsupported/os.h-NetBSD (limited to 'OS/unsupported/os.h-NetBSD') diff --git a/OS/unsupported/os.h-NetBSD b/OS/unsupported/os.h-NetBSD new file mode 100644 index 0000000..d2d3e0d --- /dev/null +++ b/OS/unsupported/os.h-NetBSD @@ -0,0 +1,28 @@ +/* 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 + +#define os_get_dns_resolver_res __res_get_state +#define os_put_dns_resolver_res(RP) __res_put_state(RP) +#define OS_GET_DNS_RESOLVER_RES + +#include + +#if __NetBSD_Version__ >= 299000900 +#define HAVE_SYS_STATVFS_H +#endif + +/* default is non-const */ +#define ICONV_ARG2_TYPE const char ** + +/* End */ -- cgit v1.2.3