summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-18 15:34:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-25 23:23:03 +0100
commit0b14c0fbef7a6d3420e8da6ae44488b23de4c4fb (patch)
tree57f6a6c4cd4c965e1570427be219128901897da1 /sal
parentbea99d013a0dea0c010a94425aef08c6711a669c (diff)
Remove stdlib.h from sal/config.h
This reverts 5da3337c007e0572028283d70bad43e9a29d45c1 "readded include stdlib.h, because of missing NULL definition in many headers, #100000, #101685", which is no longer relevant. Change-Id: I544ed9a7afbf7b611bc481b8d50acca3193d93de Reviewed-on: https://gerrit.libreoffice.org/48131 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/all/signalshared.cxx2
-rw-r--r--sal/osl/unx/salinit.cxx1
-rw-r--r--sal/osl/w32/signal.cxx3
-rw-r--r--sal/rtl/hash.cxx4
4 files changed, 10 insertions, 0 deletions
diff --git a/sal/osl/all/signalshared.cxx b/sal/osl/all/signalshared.cxx
index 9cf7fafc2de5..d6998eb006ca 100644
--- a/sal/osl/all/signalshared.cxx
+++ b/sal/osl/all/signalshared.cxx
@@ -19,6 +19,8 @@
#include <sal/config.h>
+#include <stdlib.h>
+
#include <signalshared.hxx>
#include <osl/diagnose.h>
diff --git a/sal/osl/unx/salinit.cxx b/sal/osl/unx/salinit.cxx
index 5e95c2bab532..bfec16a96677 100644
--- a/sal/osl/unx/salinit.cxx
+++ b/sal/osl/unx/salinit.cxx
@@ -37,6 +37,7 @@
#include <salusesyslog.hxx>
#if HAVE_SYSLOG_H
+#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#endif
diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx
index 5f11b8a6bcf6..79d0bcbd4e03 100644
--- a/sal/osl/w32/signal.cxx
+++ b/sal/osl/w32/signal.cxx
@@ -18,6 +18,9 @@
*/
#include <sal/config.h>
+
+#include <stdlib.h>
+
#include <config_features.h>
#include <signalshared.hxx>
diff --git a/sal/rtl/hash.cxx b/sal/rtl/hash.cxx
index 0dc36a4cffff..1599343bde3a 100644
--- a/sal/rtl/hash.cxx
+++ b/sal/rtl/hash.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <stdlib.h>
+
#include "hash.hxx"
#include "strimp.hxx"
#include <osl/diagnose.h>