diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:44:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:44:07 +0000 |
commit | 39ce00b8d520cbecbd6af87257e8fb11df0ec273 (patch) | |
tree | 4c21a2674c19e5c44be3b3550b476b9e63d8ae3d /OS/unsupported/os.h-NetBSD | |
parent | Initial commit. (diff) | |
download | exim4-upstream.tar.xz exim4-upstream.zip |
Adding upstream version 4.94.2.upstream/4.94.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | OS/unsupported/os.h-NetBSD | 28 | ||||
-rw-r--r-- | OS/unsupported/os.h-NetBSD-a.out | 5 |
2 files changed, 33 insertions, 0 deletions
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 <sys/param.h> + +#if __NetBSD_Version__ >= 299000900 +#define HAVE_SYS_STATVFS_H +#endif + +/* default is non-const */ +#define ICONV_ARG2_TYPE const char ** + +/* End */ diff --git a/OS/unsupported/os.h-NetBSD-a.out b/OS/unsupported/os.h-NetBSD-a.out new file mode 100644 index 0000000..29a8fee --- /dev/null +++ b/OS/unsupported/os.h-NetBSD-a.out @@ -0,0 +1,5 @@ +/* Exim: OS-specific C header file for NetBSD (a.out binary format) */ + +#include "../OS/os.h-NetBSD" /* Same as for ELF format */ + +/* End */ |