| 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 |
| 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> |
| 12 | #if OpenBSD >= 201405 |
| 13 | #define NOT_HAVE_ARC4RANDOM_STIR |
| 14 | #endif |
| 15 | |
| 16 | typedef struct flock flock_t; |
| 17 | |
| 18 | #define os_strsignal strsignal |
| 19 | #define OS_STRSIGNAL |
| 20 | |
| 21 | typedef struct __res_state *res_state; |
| 22 | |
| 23 | /* default is non-const */ |
| 24 | #define ICONV_ARG2_TYPE const char ** |
| 25 | |
| 26 | /* End */ |