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
This commit is contained in:
Markus Scherer 2011-07-31 22:19:54 +00:00
parent 079b2f8a28
commit ef45a40133

View File

@ -32,8 +32,16 @@
#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"
/*===========================================================================*/