From ef45a401331fcc9b09ae508ce2e13f0804bb2c34 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Sun, 31 Jul 2011 22:19:54 +0000 Subject: [PATCH] ICU-8529 include stddef.h instead of sys/types.h (we do not seem to need any of its additional definitions) X-SVN-Rev: 30446 --- icu4c/source/common/unicode/ptypes.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/icu4c/source/common/unicode/ptypes.h b/icu4c/source/common/unicode/ptypes.h index b6615ad791..46eb0fdaaf 100644 --- a/icu4c/source/common/unicode/ptypes.h +++ b/icu4c/source/common/unicode/ptypes.h @@ -32,8 +32,16 @@ #define __STDC_LIMIT_MACROS #endif -#include +/* NULL, size_t, wchar_t */ +#include +/* + * If all compilers provided all of the C99 headers and types, + * we would just unconditionally #include here + * and not need any of the stuff after including platform.h. + */ + +/* Find out if we have stdint.h etc. */ #include "unicode/platform.h" /*===========================================================================*/