ICU-12795 FIXUP! putil cleanup - need platform.h for U_PLATFORM consts

X-SVN-Rev: 40012
This commit is contained in:
Steven R. Loomis 2017-04-07 20:05:35 +00:00
parent c1a991076b
commit 0055f8238b

View file

@ -43,6 +43,9 @@
// Must be before any other #includes.
#include "uposixdefs.h"
// First, the platform type. Need this for U_PLATFORM.
#include "unicode/platform.h"
#if U_PLATFORM == U_PF_MINGW && defined __STRICT_ANSI__
/* tzset isn't defined in strict ANSI on MinGW. */
#undef __STRICT_ANSI__
@ -57,8 +60,7 @@
#include <sys/time.h>
#endif
/* include ICU headers */
#include "unicode/utypes.h"
/* include the rest of the ICU headers */
#include "unicode/putil.h"
#include "unicode/ustring.h"
#include "putilimp.h"