X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/61ec970df30325dbcd8c9d0f0e431dc793126656..fca41d5a245023376c7d7716a3f84abc2aaa4b8e:/src/OS/os.h-NetBSD diff --git a/src/OS/os.h-NetBSD b/src/OS/os.h-NetBSD index e07186bf3..19a8ac0c7 100644 --- a/src/OS/os.h-NetBSD +++ b/src/OS/os.h-NetBSD @@ -1,15 +1,25 @@ -/* $Cambridge: exim/src/OS/os.h-NetBSD,v 1.1 2004/10/06 15:07:39 ph10 Exp $ */ - /* 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 + /* End */