summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idlc/source/astenum.cxx4
-rw-r--r--idlc/source/astscope.cxx4
-rw-r--r--vcl/unx/generic/window/screensaverinhibitor.cxx4
3 files changed, 12 insertions, 0 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index 4254f7264eaa..54324337de6d 100644
--- a/idlc/source/astenum.cxx
+++ b/idlc/source/astenum.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <algorithm>
+
#include <astenum.hxx>
#include <registry/version.h>
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx
index 9af691501a8a..26ebcdb4090a 100644
--- a/idlc/source/astscope.cxx
+++ b/idlc/source/astscope.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <algorithm>
+
#include <astscope.hxx>
#include <astbasetype.hxx>
#include <astinterface.hxx>
diff --git a/vcl/unx/generic/window/screensaverinhibitor.cxx b/vcl/unx/generic/window/screensaverinhibitor.cxx
index b79069d08d12..87dd4ab3df7f 100644
--- a/vcl/unx/generic/window/screensaverinhibitor.cxx
+++ b/vcl/unx/generic/window/screensaverinhibitor.cxx
@@ -7,6 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <sal/config.h>
+
+#include <functional>
+
#include <unx/gensys.h>
#include <unx/screensaverinhibitor.hxx>