diff options
-rw-r--r-- | avmedia/source/vlc/wrapper/Types.hxx | 3 | ||||
-rw-r--r-- | include/sal/config.h | 2 | ||||
-rw-r--r-- | jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c | 4 | ||||
-rw-r--r-- | jurt/source/pipe/wrapper/wrapper.c | 1 | ||||
-rw-r--r-- | sal/osl/all/signalshared.cxx | 2 | ||||
-rw-r--r-- | sal/osl/unx/salinit.cxx | 1 | ||||
-rw-r--r-- | sal/osl/w32/signal.cxx | 3 | ||||
-rw-r--r-- | sal/rtl/hash.cxx | 4 | ||||
-rw-r--r-- | tools/source/reversemap/bestreversemap.cxx | 1 |
9 files changed, 19 insertions, 2 deletions
diff --git a/avmedia/source/vlc/wrapper/Types.hxx b/avmedia/source/vlc/wrapper/Types.hxx index 7411b03dc95a..eb5dd3a4f9d4 100644 --- a/avmedia/source/vlc/wrapper/Types.hxx +++ b/avmedia/source/vlc/wrapper/Types.hxx @@ -12,9 +12,12 @@ #ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_TYPES_HXX #define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_TYPES_HXX +#include <sal/config.h> + #if defined(_WIN32) typedef __int64 libvlc_time_t; #else +#include <stdint.h> typedef int64_t libvlc_time_t; #endif diff --git a/include/sal/config.h b/include/sal/config.h index 03a2f5b9fa21..bfe4d5e2d3e2 100644 --- a/include/sal/config.h +++ b/include/sal/config.h @@ -24,8 +24,6 @@ #include <android/compatibility.hxx> #endif -#include <stdlib.h> - #ifdef _WIN32 #define SAL_W32 #define SAL_DLLEXTENSION ".dll" diff --git a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c index ba775da069d0..5259bbcd5474 100644 --- a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c +++ b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c @@ -17,6 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <stdlib.h> + #include <jni.h> #include <osl/security.h> #include <osl/pipe.h> diff --git a/jurt/source/pipe/wrapper/wrapper.c b/jurt/source/pipe/wrapper/wrapper.c index aefaa3719183..28d16690b54e 100644 --- a/jurt/source/pipe/wrapper/wrapper.c +++ b/jurt/source/pipe/wrapper/wrapper.c @@ -20,6 +20,7 @@ #include <sal/config.h> #include <stddef.h> +#include <stdlib.h> #define WIN32_LEAN_AND_MEAN #include <windows.h> 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> diff --git a/tools/source/reversemap/bestreversemap.cxx b/tools/source/reversemap/bestreversemap.cxx index 97691b3dd0eb..a03711abbdfc 100644 --- a/tools/source/reversemap/bestreversemap.cxx +++ b/tools/source/reversemap/bestreversemap.cxx @@ -10,6 +10,7 @@ #include <sal/config.h> #include <rtl/textcvt.h> +#include <cstdlib> #include <stdio.h> struct Encoder |