summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-18 20:06:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-19 09:35:22 +0100
commit64c9bda0b9d43a4b4cc1d40068f0d0fb261fb5b4 (patch)
tree431dbab24b3b8b884feee9a61151fab30d92620b /sal
parent9bca3cc18655d02f3c111d692b26339a6e3669d4 (diff)
Remove include of config_global.h from sal/config.h
(where it is not actually needed), and instead include it where needed Change-Id: I107f8d4002d3001393b89834dd30a30b0c53a792 Reviewed-on: https://gerrit.libreoffice.org/48152 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/all/log.cxx1
-rw-r--r--sal/osl/unx/interlck.cxx1
-rw-r--r--sal/osl/unx/salinit.cxx1
-rw-r--r--sal/rtl/math.cxx1
4 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 66722662af80..83ff23e42add 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -21,6 +21,7 @@
#include <string.h>
#include <fstream>
+#include <config_global.h>
#include <osl/thread.hxx>
#include <rtl/string.h>
#include <sal/detail/log.h>
diff --git a/sal/osl/unx/interlck.cxx b/sal/osl/unx/interlck.cxx
index e114485877db..81404cb57a7a 100644
--- a/sal/osl/unx/interlck.cxx
+++ b/sal/osl/unx/interlck.cxx
@@ -19,6 +19,7 @@
#include "system.hxx"
+#include <config_global.h>
#include <osl/interlck.h>
#if ( defined (__sun) || defined ( NETBSD ) ) && defined ( SPARC )
diff --git a/sal/osl/unx/salinit.cxx b/sal/osl/unx/salinit.cxx
index cfc612b8b77c..5e95c2bab532 100644
--- a/sal/osl/unx/salinit.cxx
+++ b/sal/osl/unx/salinit.cxx
@@ -28,6 +28,7 @@
#include <sys/stat.h>
#endif
+#include <config_global.h>
#include <osl/process.h>
#include <sal/main.h>
#include <sal/types.h>
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx
index 387ae3b2b4aa..9f25d653f3f1 100644
--- a/sal/rtl/math.cxx
+++ b/sal/rtl/math.cxx
@@ -19,6 +19,7 @@
#include <rtl/math.h>
+#include <config_global.h>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <rtl/alloc.h>