summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linguistic/source/hyphdsp.cxx4
-rw-r--r--linguistic/source/spelldta.cxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx
index 981e8317db49..0ab84859f81a 100644
--- a/linguistic/source/hyphdsp.cxx
+++ b/linguistic/source/hyphdsp.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <algorithm>
+
#include <cppuhelper/factory.hxx>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp>
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx
index d06651053558..ffe86417b947 100644
--- a/linguistic/source/spelldta.cxx
+++ b/linguistic/source/spelldta.cxx
@@ -24,6 +24,7 @@
#include <tools/debug.hxx>
#include <osl/mutex.hxx>
+#include <algorithm>
#include <vector>
#include "linguistic/spelldta.hxx"