From 1f59b5f8eac522bb0a5155393224496c39deca42 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 14 Jun 2009 08:31:13 -0700 Subject: [PATCH] Removing dangling #else block from X_NOT_STDC_ENV removal Fixes mass damage caused by ced38e880b54f2aae31a5354aecb4235a129f0a4 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 --- Xos.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Xos.h b/Xos.h index 85486a9..2fbe07d 100644 --- a/Xos.h +++ b/Xos.h @@ -81,18 +81,6 @@ in this Software without prior written authorization from The Open Group. #endif #endif -#else - -#ifdef SYSV -#include -#define index strchr -#define rindex strrchr -#else -#include -#define strchr index -#define strrchr rindex -#endif - /* * strerror() */