1 /* Exim: OS-specific C header file for NetBSD */
2 /* Copyright (c) The Exim Maintainers 2021 */
3 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 #define HAVE_BSD_GETLOADAVG
6 #define HAVE_GETIFADDRS
8 #define HAVE_SYS_MOUNT_H
9 #define SIOCGIFCONF_GIVES_ADDR
10 #define HAVE_ARC4RANDOM
12 typedef struct flock flock_t;
14 #define os_strsignal strsignal
17 #define os_get_dns_resolver_res __res_get_state
18 #define os_put_dns_resolver_res(RP) __res_put_state(RP)
19 #define OS_GET_DNS_RESOLVER_RES
21 #include <sys/param.h>
23 #if __NetBSD_Version__ >= 299000900
24 #define HAVE_SYS_STATVFS_H
27 /* default is non-const */
28 #define ICONV_ARG2_TYPE const char **
30 #define EXIM_HAVE_KEVENT