1 /* Exim: OS-specific C header file for OpenBSD */
3 #define HAVE_BSD_GETLOADAVG
5 #define HAVE_SYS_MOUNT_H
6 #define SIOCGIFCONF_GIVES_ADDR
7 #define HAVE_ARC4RANDOM
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>
13 # define NOT_HAVE_ARC4RANDOM_STIR
16 typedef struct flock flock_t;
18 #define os_strsignal strsignal
21 typedef struct __res_state *res_state;
23 /* default is non-const */
24 #define ICONV_ARG2_TYPE const char **
30 /* We need to force this; the automatic in buildconfig.c gets %ld */
35 #define OFF_T_FMT "%lld"
36 #define LONGLONG_T long long int
41 #define PID_T_FMT "%d"
46 #define INO_T_FMT "%llu"
51 #define TIME_T_FMT "%lld"