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 /* setgroups(0, NULL) succeeds, and drops the gid group
25 as well as any supplementary groups*/
26 #define OS_SETGROUPS_ZERO_DROPS_ALL
28 #if _POSIX_C_SOURCE >= 200809L || _ATFILE_SOURCE
29 # define EXIM_HAVE_OPENAT