summaryrefslogtreecommitdiffstats
path: root/OS/unsupported/os.h-NetBSD
blob: 0b9fc03f0db33dc6cf781f3ec2316766631ff917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Exim: OS-specific C header file for NetBSD */
/* Copyright (c) The Exim Maintainers 2021 */

#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 <sys/param.h>

#if __NetBSD_Version__ >= 299000900
#define HAVE_SYS_STATVFS_H
#endif

/* default is non-const */
#define ICONV_ARG2_TYPE const char **

#define EXIM_HAVE_KEVENT

/* End */