From: Steven R. Loomis Date: Thu, 10 Sep 2015 06:43:39 +0000 (+0000) Subject: ICU-11437 endianness detection on bsd X-Git-Tag: milestone-59-0-1~884 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e12c2865727dc20d74b77a8c1d92665b046bc5f3;p=icu ICU-11437 endianness detection on bsd X-SVN-Rev: 37939 --- diff --git a/icu4c/source/common/unicode/platform.h b/icu4c/source/common/unicode/platform.h index 138c2d5cad6..8eed735ac8f 100644 --- a/icu4c/source/common/unicode/platform.h +++ b/icu4c/source/common/unicode/platform.h @@ -160,6 +160,9 @@ # define U_PLATFORM U_PF_DARWIN # endif #elif defined(BSD) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__MirBSD__) +# if defined(__FreeBSD__) +# include +# endif # define U_PLATFORM U_PF_BSD #elif defined(sun) || defined(__sun) /* Check defined(__SVR4) || defined(__svr4__) to distinguish Solaris from SunOS? */