diff options
Diffstat (limited to 'bits')
-rw-r--r-- | bits/types.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bits/types.h b/bits/types.h index d79851c..2b3edab 100644 --- a/bits/types.h +++ b/bits/types.h @@ -98,8 +98,13 @@ typedef unsigned long int __fd_mask; /* fd_set for select and pselect. */ typedef struct { - /* XPG4.2 requires this member name. */ + /* XPG4.2 requires this member name. Otherwise avoid the name + from the user namespace. */ +#ifdef __USE_XOPEN __fd_mask fds_bits[(__FD_SETSIZE + (__NFDBITS - 1)) / __NFDBITS]; +#else + __fd_mask __fds_bits[(__FD_SETSIZE + (__NFDBITS - 1)) / __NFDBITS]; +#endif } __fd_set; |