1 /* Exim: OS-specific C header file for GNU/Hurd */
2 /* Copyright (c) The Exim Maintainers 2020 - 2021 */
3 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #define GLIBC_IP_OPTIONS
9 #define HAVE_BSD_GETLOADAVG
11 #define HAVE_SYS_VFS_H
14 #define SIOCGIFCONF_GIVES_ADDR
16 #define F_FREESP O_TRUNC
17 typedef struct flock flock_t;
19 #define os_strsignal strsignal
22 /* Hurd-specific bits below */
24 /* default is non-const */
25 #define ICONV_ARG2_TYPE const char **
27 /* setgroups(0, NULL) succeeds, and drops the gid group
28 as well as any supplementary groups*/
29 #define OS_SETGROUPS_ZERO_DROPS_ALL
31 #if _POSIX_C_SOURCE >= 200809L || _ATFILE_SOURCE
32 # define EXIM_HAVE_OPENAT