1 /* Exim: OS-specific C header file for GNU/Hurd */
2 /* Copyright (c) The Exim Maintainers 2020 - 2021 */
7 #define GLIBC_IP_OPTIONS
8 #define HAVE_BSD_GETLOADAVG
10 #define HAVE_SYS_VFS_H
13 #define SIOCGIFCONF_GIVES_ADDR
15 #define F_FREESP O_TRUNC
16 typedef struct flock flock_t;
18 #define os_strsignal strsignal
21 /* Hurd-specific bits below */
23 /* default is non-const */
24 #define ICONV_ARG2_TYPE const char **
26 /* setgroups(0, NULL) succeeds, and drops the gid group
27 as well as any supplementary groups*/
28 #define OS_SETGROUPS_ZERO_DROPS_ALL
30 #if _POSIX_C_SOURCE >= 200809L || _ATFILE_SOURCE
31 # define EXIM_HAVE_OPENAT