1 /* Exim: OS-specific C header file for FreeBSD */
3 #define HAVE_BSD_GETLOADAVG
4 #define HAVE_SETCLASSRESOURCES
6 #define HAVE_SYS_MOUNT_H
7 #define SIOCGIFCONF_GIVES_ADDR
8 #define HAVE_SRANDOMDEV
9 #define HAVE_ARC4RANDOM
11 typedef struct flock flock_t;
13 /* iconv arg2 type: libiconv in Ports uses "const char* * inbuf" and was
14 * traditionally the only approach available. The iconv functionality
15 * in libc is "char ** restrict src".
17 * <https://www.freebsd.org/doc/en/books/porters-handbook/using-iconv.html>
18 * says that libc has iconv since 2013, in 10-CURRENT. FreeBSD man-pages
19 * shows it included in 10.0-RELEASE. Writing this in 2017, 10.3 is the
20 * oldest supported release, so we should assume non-libiconv by default.
22 * Thus we no longer override iconv.
24 * However, if libiconv is installed, and anything adds /usr/local/include
25 * to include-path (likely) then we'll get that. So define a variable
26 * which makes the libiconv try to not interfere with OS iconv.