X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/92f9ced0f1ac270b78c3733ed259f4604d01af16..109ffab7b4f081db04600b0fa153a5372e51e169:/src/OS/os.h-NetBSD?ds=sidebyside diff --git a/src/OS/os.h-NetBSD b/src/OS/os.h-NetBSD index 234f51c18..d2d3e0d82 100644 --- a/src/OS/os.h-NetBSD +++ b/src/OS/os.h-NetBSD @@ -1,5 +1,3 @@ -/* $Cambridge: exim/src/OS/os.h-NetBSD,v 1.5 2009/10/20 12:39:47 nm4 Exp $ */ - /* Exim: OS-specific C header file for NetBSD */ #define HAVE_BSD_GETLOADAVG @@ -7,16 +5,24 @@ #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 +/* default is non-const */ +#define ICONV_ARG2_TYPE const char ** + /* End */