summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
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>