DANE: fix build with LibreSSL
[exim.git] / src / OS / os.h-OpenBSD
CommitLineData
61ec970d
PH
1/* Exim: OS-specific C header file for OpenBSD */
2
3#define HAVE_BSD_GETLOADAVG
4#define HAVE_MMAP
5#define HAVE_SYS_MOUNT_H
6#define SIOCGIFCONF_GIVES_ADDR
0eb8eedd 7#define HAVE_ARC4RANDOM
46ca7017
TL
8/* In May 2014, OpenBSD 5.5 was released which cleaned up the arc4random_* API
9 which removed the arc4random_stir() function. Set NOT_HAVE_ARC4RANDOM_STIR
10 if the version released is past that point. */
11#include <sys/param.h>
12#if OpenBSD >= 201405
13#define NOT_HAVE_ARC4RANDOM_STIR
14#endif
61ec970d
PH
15
16typedef struct flock flock_t;
17
18#define os_strsignal strsignal
19#define OS_STRSIGNAL
20
c2fb33b4
PP
21typedef struct __res_state *res_state;
22
9c19b270
JH
23/* default is non-const */
24#define ICONV_ARG2_TYPE const char **
25
61ec970d 26/* End */