From 24bcdbd17913a1ca39c975113767aa2c556b69cc Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Sat, 13 Sep 2014 21:57:17 +0100 Subject: Remove pointless X_NOT_POSIX Both stdlib.h (only included for prototype of atoi()), and limits.h (only included for PATH_MAX) are in C89, so putting this under X_NOT_POSIX seems a little excessive. Signed-off-by: Jon TURNEY Reviewed-by: Alan Coopersmith --- src/StrToCurs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/StrToCurs.c b/src/StrToCurs.c index 7bb1da1..fc064c6 100644 --- a/src/StrToCurs.c +++ b/src/StrToCurs.c @@ -58,8 +58,8 @@ SOFTWARE. #include #include -#ifndef X_NOT_POSIX #include + #ifdef _POSIX_SOURCE #include #else @@ -67,7 +67,7 @@ SOFTWARE. #include #undef _POSIX_SOURCE #endif -#endif /* X_NOT_POSIX */ + #ifndef PATH_MAX #ifdef WIN32 #define PATH_MAX 512 -- cgit v1.2.1