From 42486dde49d9a9494c1f4889bbccde1f5aecd91e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 29 Jun 2016 14:46:39 +0200 Subject: move #includes to top of file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sal/rtl/alloc_cache.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sal/rtl') diff --git a/sal/rtl/alloc_cache.cxx b/sal/rtl/alloc_cache.cxx index b557504bb001..8540d913bba0 100644 --- a/sal/rtl/alloc_cache.cxx +++ b/sal/rtl/alloc_cache.cxx @@ -29,6 +29,10 @@ #include #include +#if defined(SAL_UNX) +#include +#endif + /* ================================================================= * * * cache internals. @@ -1297,8 +1301,6 @@ rtl_secureZeroMemory (void *Ptr, sal_Size Bytes) SAL_THROW_EXTERN_C() *p++ = 0; } -#include - static void * rtl_cache_wsupdate_all (void * arg); -- cgit