summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-09-13 21:57:17 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-03-23 14:44:52 +0000
commit24bcdbd17913a1ca39c975113767aa2c556b69cc (patch)
tree5cb20a7e91a74cbc4cde072084503380a19bd225
parent22d9c590901e121936f50dee97dc60c4f7defb63 (diff)
downloadxorg-lib-libXmu-24bcdbd17913a1ca39c975113767aa2c556b69cc.tar.gz
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 <jon.turney@dronecode.org.uk> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/StrToCurs.c4
1 files changed, 2 insertions, 2 deletions
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 <X11/Xmu/CurUtil.h>
#include <X11/Xmu/CharSet.h>
-#ifndef X_NOT_POSIX
#include <stdlib.h>
+
#ifdef _POSIX_SOURCE
#include <limits.h>
#else
@@ -67,7 +67,7 @@ SOFTWARE.
#include <limits.h>
#undef _POSIX_SOURCE
#endif
-#endif /* X_NOT_POSIX */
+
#ifndef PATH_MAX
#ifdef WIN32
#define PATH_MAX 512