diff --git a/xpcom/io/nsNativeCharsetUtils.cpp b/xpcom/io/nsNativeCharsetUtils.cpp index 58a74c3709b9..e76532449da7 100644 --- a/xpcom/io/nsNativeCharsetUtils.cpp +++ b/xpcom/io/nsNativeCharsetUtils.cpp @@ -38,7 +38,7 @@ * * ***** END LICENSE BLOCK ***** */ -#if defined(XP_UNIX) +#if defined(XP_UNIX) || defined(XP_BEOS) #include // mbtowc, wctomb #include // setlocale