]> granicus.if.org Git - icu/commitdiff
ICU-8529 include stddef.h instead of sys/types.h (we do not seem to need any of its...
authorMarkus Scherer <markus.icu@gmail.com>
Sun, 31 Jul 2011 22:19:54 +0000 (22:19 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Sun, 31 Jul 2011 22:19:54 +0000 (22:19 +0000)
X-SVN-Rev: 30446

icu4c/source/common/unicode/ptypes.h

index b6615ad7913b2ca2ff544c7a16a98b00f0699d25..46eb0fdaaf5ffe6f29a795b877abfdbc93c12bff 100644 (file)
 #define __STDC_LIMIT_MACROS
 #endif
 
-#include <sys/types.h>
+/* NULL, size_t, wchar_t */
+#include <stddef.h>
 
+/*
+ * If all compilers provided all of the C99 headers and types,
+ * we would just unconditionally #include <stdint.h> here
+ * and not need any of the stuff after including platform.h.
+ */
+
+/* Find out if we have stdint.h etc. */
 #include "unicode/platform.h"
 
 /*===========================================================================*/