1 /* Exim: OS-specific C header file for GNU/Hurd */
4 #define GLIBC_IP_OPTIONS
5 #define HAVE_BSD_GETLOADAVG
10 #define SIOCGIFCONF_GIVES_ADDR
12 #define F_FREESP O_TRUNC
13 typedef struct flock flock_t;
15 #define os_strsignal strsignal
18 /* Hurd-specific bits below */
20 /* default is non-const */
21 #define ICONV_ARG2_TYPE const char **
23 /* setgroups(0, NULL) succeeds, and drops the gid group
24 as well as any supplementary groups */
25 #define OS_SETGROUPS_ZERO_DROPS_ALL
27 /* reads and writes on pipes frequently return EINTR. We provide
28 a routine to retry that */
29 #define OS_PIPE_RW_EINTR