diff options
Diffstat (limited to 'sal/rtl/alloc_cache.cxx')
-rw-r--r-- | sal/rtl/alloc_cache.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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 <string.h> #include <stdio.h> +#if defined(SAL_UNX) +#include <sys/time.h> +#endif + /* ================================================================= * * * cache internals. @@ -1297,8 +1301,6 @@ rtl_secureZeroMemory (void *Ptr, sal_Size Bytes) SAL_THROW_EXTERN_C() *p++ = 0; } -#include <sys/time.h> - static void * rtl_cache_wsupdate_all (void * arg); |