cleanup types stuff in headers, fix missing u_int*_t in sys/types.h
[musl] / include / limits.h
index 6d7dfdb..3953aea 100644 (file)
@@ -29,6 +29,9 @@
 #define PTHREAD_KEYS_MAX  1024
 #define PTHREAD_STACK_MIN PAGE_SIZE
 #define PTHREAD_DESTRUCTOR_ITERATIONS 4
+#define SEM_VALUE_MAX 0x7fffffff
+#define SEM_NSEMS_MAX 256
+#define DELAYTIMER_MAX 0x7fffffff
 
 /* Arbitrary numbers... */
 
@@ -49,6 +52,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 +61,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
 #define _XOPEN_PATH_MAX         1024
 
 #endif
-
-#endif