mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-07 15:28:04 +02:00
Don't define _XOPEN_SOURCE on SVR4, because it will REMOVE required
definitions.
This commit is contained in:
parent
acc0551fb1
commit
825b6ae347
1 changed files with 2 additions and 1 deletions
3
Xos.h
3
Xos.h
|
|
@ -60,8 +60,9 @@ in this Software without prior written authorization from The Open Group.
|
|||
/*
|
||||
* Make sure _XOPEN_SOURCE is defined before including sys/select.h
|
||||
* so that we get fds_bits in fd_set instead of __fds_bits
|
||||
* EXCEPT on SVR4, where it REMOVES required typedefs!
|
||||
*/
|
||||
# ifndef _XOPEN_SOURCE
|
||||
# if !defined(_XOPEN_SOURCE) && !defined(SVR4)
|
||||
# define _XOPEN_SOURCE
|
||||
# include <sys/types.h>
|
||||
# undef _XOPEN_SOURCE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue