summaryrefslogtreecommitdiff
path: root/sal/osl/unx/nlsupport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/nlsupport.cxx')
-rw-r--r--sal/osl/unx/nlsupport.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sal/osl/unx/nlsupport.cxx b/sal/osl/unx/nlsupport.cxx
index b7e86c115981..3df4f9cdd3f3 100644
--- a/sal/osl/unx/nlsupport.cxx
+++ b/sal/osl/unx/nlsupport.cxx
@@ -38,6 +38,10 @@
#endif /* !MACOSX && !IOS */
#endif /* LINUX || SOLARIS || NETBSD || MACOSX || IOS */
+#if defined(MACOSX) || defined(IOS)
+#include "system.hxx"
+#endif
+
#include <string.h>
namespace {
@@ -838,7 +842,6 @@ rtl_TextEncoding osl_getTextEncodingFromLocale( rtl_Locale * pLocale )
}
#if defined(MACOSX) || defined(IOS)
-#include "system.hxx"
/*****************************************************************************
return the current process locale