From b9c6d65f4be40cc505d28a2aee2d0f271207e2bd Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Wed, 26 Aug 2009 19:58:08 +0000 Subject: [PATCH] Added windows-specific headers to common.h --- telldus-core/driver/libtelldus-core/common.h | 4 ++++ telldus-core/driver/libtelldus-core/telldus-core.cpp | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/telldus-core/driver/libtelldus-core/common.h b/telldus-core/driver/libtelldus-core/common.h index c7126b7d..00237358 100644 --- a/telldus-core/driver/libtelldus-core/common.h +++ b/telldus-core/driver/libtelldus-core/common.h @@ -5,6 +5,10 @@ // // +#ifdef _WINDOWS + #include "stdafx.h" + #include +#endif #include inline char *wrapStdString( const std::string &string) { diff --git a/telldus-core/driver/libtelldus-core/telldus-core.cpp b/telldus-core/driver/libtelldus-core/telldus-core.cpp index 55dfb89d..57985bc4 100644 --- a/telldus-core/driver/libtelldus-core/telldus-core.cpp +++ b/telldus-core/driver/libtelldus-core/telldus-core.cpp @@ -4,10 +4,6 @@ * @{ */ -#ifdef _WINDOWS - #include "stdafx.h" - #include -#endif #include "telldus-core.h" #include "Manager.h" #include "Device.h"