1 /* Exim: OS-specific C header file for NetBSD */
2 /* Copyright (c) The Exim Maintainers 2021 */
4 #define HAVE_BSD_GETLOADAVG
5 #define HAVE_GETIFADDRS
7 #define HAVE_SYS_MOUNT_H
8 #define SIOCGIFCONF_GIVES_ADDR
9 #define HAVE_ARC4RANDOM
11 typedef struct flock flock_t;
13 #define os_strsignal strsignal
16 #define os_get_dns_resolver_res __res_get_state
17 #define os_put_dns_resolver_res(RP) __res_put_state(RP)
18 #define OS_GET_DNS_RESOLVER_RES
20 #include <sys/param.h>
22 #if __NetBSD_Version__ >= 299000900
23 #define HAVE_SYS_STATVFS_H
26 /* default is non-const */
27 #define ICONV_ARG2_TYPE const char **
29 #define EXIM_HAVE_KEVENT