aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-01-15 12:24:45 +0000
committerVincent Richard <[email protected]>2013-01-15 12:24:45 +0000
commit099d7a7882fa5cdade61c0b8e10b4d6be8b24488 (patch)
treefbf2da0f0ab59b61a5747403fef18a964cb34883
parentRenamed TYPE_BOOL to avoid name collision on MacOS. (diff)
downloadvmime-099d7a7882fa5cdade61c0b8e10b4d6be8b24488.tar.gz
vmime-099d7a7882fa5cdade61c0b8e10b4d6be8b24488.zip
Moved includes to fix compilation issue.
-rw-r--r--src/utility/smartPtrInt.cpp6
-rw-r--r--vmime/utility/smartPtrInt.hpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/utility/smartPtrInt.cpp b/src/utility/smartPtrInt.cpp
index dcbfb431..2bb9d70d 100644
--- a/src/utility/smartPtrInt.cpp
+++ b/src/utility/smartPtrInt.cpp
@@ -24,12 +24,6 @@
#include "vmime/utility/smartPtrInt.hpp"
#include "vmime/object.hpp"
-#if defined(_WIN32)
-# include <windows.h>
-#elif defined(VMIME_HAVE_PTHREAD)
-# include <pthread.h>
-#endif
-
namespace vmime {
namespace utility {
diff --git a/vmime/utility/smartPtrInt.hpp b/vmime/utility/smartPtrInt.hpp
index 0cd86b15..36c4ff01 100644
--- a/vmime/utility/smartPtrInt.hpp
+++ b/vmime/utility/smartPtrInt.hpp
@@ -28,6 +28,12 @@
#include "vmime/config.hpp"
#include "vmime/utility/smartPtr.hpp"
+#if defined(_WIN32)
+# include <windows.h>
+#elif defined(VMIME_HAVE_PTHREAD)
+# include <pthread.h>
+#endif
+
namespace vmime {
namespace utility {