From 74eea628cf43355ba2b227f0bb3c31697d637761 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 14 Feb 2011 18:41:25 -0500 Subject: extensive header cleanup for standards conformance & correctness thanks to Peter Mazinger (psm) for pointing many of these issues out and submitting a patch on which this commit is loosely based --- include/limits.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/limits.h') diff --git a/include/limits.h b/include/limits.h index 6d7dfdbb..6757012b 100644 --- a/include/limits.h +++ b/include/limits.h @@ -49,6 +49,8 @@ #define NL_SETMAX 255 #define NL_TEXTMAX 2048 +#endif + /* POSIX/SUS requirements follow. These numbers come directly * from SUS and have nothing to do with the host system. */ @@ -56,6 +58,7 @@ #define _POSIX_AIO_MAX 1 #define _POSIX_ARG_MAX 4096 #define _POSIX_CHILD_MAX 25 +#define _POSIX_CLOCKRES_MIN 20000000 #define _POSIX_DELAYTIMER_MAX 32 #define _POSIX_HOST_NAME_MAX 255 #define _POSIX_LINK_MAX 8 @@ -104,5 +107,3 @@ #define _XOPEN_PATH_MAX 1024 #endif - -#endif -- cgit v1.2.1