mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-08 04:18:09 +02:00
Removing dangling #else block from X_NOT_STDC_ENV removal
Fixes mass damage caused by ced38e880b
moving the includes for unistd.h, fcntl.h, etc. from the else for
X_NOT_STDC_ENV into the #else for #ifndef _XOS_H_, which made them
go away for everyone.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
parent
4435ea3d80
commit
1f59b5f8ea
1 changed files with 0 additions and 12 deletions
12
Xos.h
12
Xos.h
|
|
@ -81,18 +81,6 @@ in this Software without prior written authorization from The Open Group.
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#ifdef SYSV
|
||||
#include <string.h>
|
||||
#define index strchr
|
||||
#define rindex strrchr
|
||||
#else
|
||||
#include <strings.h>
|
||||
#define strchr index
|
||||
#define strrchr rindex
|
||||
#endif
|
||||
|
||||
/*
|
||||
* strerror()
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue