summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-19 00:31:37 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-19 11:55:11 +0100
commit40d4f917e3395611276240c75c1d825d172ed559 (patch)
treee55869e4bc3089d8de9cf8de63b3c119bc35235f /include
parentdb222b74f1482870aac76d51646215d756901b8d (diff)
sal, cppuhelper headers a little more complete and self-contained
All of them now build as-is (doing that is actually a pain because some are named the same as C library headers and clang looks first in the directory where the source file is in...). Change-Id: Ief6e245c8f49fcee678aebd46394c19e4cb47f51
Diffstat (limited to 'include')
-rw-r--r--include/cppuhelper/component_context.hxx4
-rw-r--r--include/cppuhelper/interfacecontainer.h1
-rw-r--r--include/cppuhelper/weak.hxx1
-rw-r--r--include/cppuhelper/weakref.hxx1
-rw-r--r--include/osl/file.hxx1
-rw-r--r--include/osl/profile.hxx2
-rw-r--r--include/rtl/stringutils.hxx1
7 files changed, 11 insertions, 0 deletions
diff --git a/include/cppuhelper/component_context.hxx b/include/cppuhelper/component_context.hxx
index f22ff2c1df6d..9baf861efad0 100644
--- a/include/cppuhelper/component_context.hxx
+++ b/include/cppuhelper/component_context.hxx
@@ -20,7 +20,11 @@
#define INCLUDED_CPPUHELPER_COMPONENT_CONTEXT_HXX
#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.hxx>
#include <cppuhelper/cppuhelperdllapi.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
namespace cppu
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h
index 2813af03c943..650d455532e0 100644
--- a/include/cppuhelper/interfacecontainer.h
+++ b/include/cppuhelper/interfacecontainer.h
@@ -23,6 +23,7 @@
#include <functional>
#include <vector>
+#include <utility>
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
diff --git a/include/cppuhelper/weak.hxx b/include/cppuhelper/weak.hxx
index 60ee36cc2275..9719db1a2e62 100644
--- a/include/cppuhelper/weak.hxx
+++ b/include/cppuhelper/weak.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_CPPUHELPER_WEAK_HXX
#define INCLUDED_CPPUHELPER_WEAK_HXX
+#include <cassert>
#include <osl/interlck.h>
#include <rtl/alloc.h>
#include <com/sun/star/uno/XWeak.hpp>
diff --git a/include/cppuhelper/weakref.hxx b/include/cppuhelper/weakref.hxx
index 796e744ed17b..01ee4c8671e5 100644
--- a/include/cppuhelper/weakref.hxx
+++ b/include/cppuhelper/weakref.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_CPPUHELPER_WEAKREF_HXX
#define INCLUDED_CPPUHELPER_WEAKREF_HXX
+#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/XInterface.hpp>
#include <cppuhelper/cppuhelperdllapi.h>
diff --git a/include/osl/file.hxx b/include/osl/file.hxx
index 293f18d25aa6..2c65fcd66e9b 100644
--- a/include/osl/file.hxx
+++ b/include/osl/file.hxx
@@ -26,6 +26,7 @@
#include <cassert>
+#include <sal/log.hxx>
#include <osl/time.h>
#include <rtl/ustring.hxx>
diff --git a/include/osl/profile.hxx b/include/osl/profile.hxx
index 1c1e899337b1..a4c9e724f78d 100644
--- a/include/osl/profile.hxx
+++ b/include/osl/profile.hxx
@@ -22,7 +22,9 @@
#include <osl/profile.h>
#include <rtl/ustring.hxx>
+
#include <string.h>
+#include <exception>
#include <list>
namespace osl {
diff --git a/include/rtl/stringutils.hxx b/include/rtl/stringutils.hxx
index 88034d33034d..52ed1d02fdf6 100644
--- a/include/rtl/stringutils.hxx
+++ b/include/rtl/stringutils.hxx
@@ -11,6 +11,7 @@
#define INCLUDED_RTL_STRINGUTILS_HXX
#include <sal/config.h>
+#include <sal/types.h>
// Manually defining RTL_DISABLE_FAST_STRING allows to force turning fast string concatenation off
// (e.g. for debugging).