diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-19 20:14:45 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-19 20:14:45 +0200 |
commit | 77b93390283cc4927f08ceb1bc19f2b2b1dee7c2 (patch) | |
tree | c79cb95950efda126980b6ae0f3298297a700f5c /bits | |
parent | Consolidate Linux getdents{64} implementation (diff) | |
download | glibc-77b93390283cc4927f08ceb1bc19f2b2b1dee7c2.tar.gz glibc-77b93390283cc4927f08ceb1bc19f2b2b1dee7c2.tar.bz2 glibc-77b93390283cc4927f08ceb1bc19f2b2b1dee7c2.zip |
hurd: Fix symbols exposition
* bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
* conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
* sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
instead of wait_queue.
* sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
instead of vm_area_struct.
Diffstat (limited to 'bits')
-rw-r--r-- | bits/in.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,7 @@ #define IP_ADD_MEMBERSHIP 12 /* ip_mreq; add an IP group membership */ #define IP_DROP_MEMBERSHIP 13 /* ip_mreq; drop an IP group membership */ +#ifdef __USE_MISC /* Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS. The `ip_dst' field is used for the first-hop gateway when using a source route (this gets put into the header proper). */ @@ -52,6 +53,7 @@ struct ip_opts struct in_addr ip_dst; /* First hop; zero without source route. */ char ip_opts[40]; /* Actually variable in size. */ }; +#endif /* Socket-level values for IPv6. */ #define SOL_IPV6 41 |