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 -#elif defined(VMIME_HAVE_PTHREAD) -# include -#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 +#elif defined(VMIME_HAVE_PTHREAD) +# include +#endif + namespace vmime { namespace utility {