summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/inc/rtl/string.hxx1
-rw-r--r--sal/qa/rtl/strings/test_strings_replace.cxx3
2 files changed, 3 insertions, 1 deletions
diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx
index e45b837b7fe6..a2aacb28a007 100644
--- a/sal/inc/rtl/string.hxx
+++ b/sal/inc/rtl/string.hxx
@@ -32,6 +32,7 @@
#include "sal/config.h"
#include <cassert>
+#include <ostream>
#include <osl/diagnose.h>
#include <rtl/memory.h>
diff --git a/sal/qa/rtl/strings/test_strings_replace.cxx b/sal/qa/rtl/strings/test_strings_replace.cxx
index a46245f3c0fa..101dc6785cc5 100644
--- a/sal/qa/rtl/strings/test_strings_replace.cxx
+++ b/sal/qa/rtl/strings/test_strings_replace.cxx
@@ -26,7 +26,8 @@
* in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
* instead of those above.
*/
-#include <ostream>
+
+#include "sal/config.h"
#include <sal/types.h>
#include "cppunit/TestAssert.h"