summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-07-08 00:38:27 +0300
committerTor Lillqvist <tml@collabora.com>2014-07-08 00:38:27 +0300
commit0dd717b139f3d7a898aa01936e835fb40fd734af (patch)
tree99d6e2e54f9e07224cd60c7580b67960038358d0 /sal
parentbc1a0a8382fad035d87e530ca87f8a52b4a807bb (diff)
Include <algorithm> for std::min() and max()
Change-Id: Ic3ab061ab8d3578130dfa8a637e5351d4f5d766e
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/process/osl_Thread.cxx1
-rw-r--r--sal/qa/osl/security/osl_Security.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index 1122c2518c02..cdb5d66c704a 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <algorithm>
#ifdef WNT
#include <windows.h>
#else
diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx
index b675ab15058f..a64da63fafa0 100644
--- a/sal/qa/osl/security/osl_Security.cxx
+++ b/sal/qa/osl/security/osl_Security.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <algorithm>
#ifdef WNT
#include <windows.h>
#undef min