From: Markus Scherer Date: Sun, 31 Jul 2011 22:19:54 +0000 (+0000) Subject: ICU-8529 include stddef.h instead of sys/types.h (we do not seem to need any of its... X-Git-Tag: milestone-59-0-1~4606 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef45a401331fcc9b09ae508ce2e13f0804bb2c34;p=icu 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 --- diff --git a/icu4c/source/common/unicode/ptypes.h b/icu4c/source/common/unicode/ptypes.h index b6615ad7913..46eb0fdaaf5 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" /*===========================================================================*/