OSDN Git Service

<stdint.h> should expose SIZE_MAX.
authorElliott Hughes <enh@google.com>
Wed, 12 Jun 2013 17:28:26 +0000 (10:28 -0700)
committerElliott Hughes <enh@google.com>
Wed, 12 Jun 2013 17:28:26 +0000 (10:28 -0700)
Change-Id: Id27222c24955c83f29ad953933cbdc48b6f1e900

libc/include/stdint.h

index c3e29dd..222ff1b 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <stddef.h>
 #include <sys/_types.h>
+#include <machine/limits.h> /* For SIZE_MAX. */
 
 #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)
 #  define __STDINT_LIMITS