summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-29 14:46:39 +0200
committerCaolán McNamara <caolanm@redhat.com>2016-06-29 14:49:19 +0000
commit42486dde49d9a9494c1f4889bbccde1f5aecd91e (patch)
tree8939d9e9f182ab9483775c4c6b84e85bb2208dde /sal/osl
parentd5b05cafdec62209803e38010b3354660e3e67cd (diff)
move #includes to top of file
instead of being randomly embedded somewhere deep inside the CXX code. Found with: git grep -nP '^#include' -- *.cxx | sort -g -k 2 -t : Change-Id: I9ee432d3b665ecb6ec600bd51cc4b735a1b1127a Reviewed-on: https://gerrit.libreoffice.org/26764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sal/osl')
-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