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:
Alan Coopersmith 2009-06-14 08:31:13 -07:00
parent 4435ea3d80
commit 1f59b5f8ea

12
Xos.h
View file

@ -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()
*/