include windows.h. fix compilation when cross-compiling on linux
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 10 Feb 2009 07:53:16 +0000 (07:53 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 10 Feb 2009 07:53:16 +0000 (07:53 +0000)
patch from Lars Munch

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@38990 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_evas/ecore_evas_win32.c

index 8fc711c..439f435 100644 (file)
@@ -11,6 +11,9 @@
 #include "Ecore.h"
 #include "ecore_private.h"
 #ifdef BUILD_ECORE_EVAS_WIN32
+# define WIN32_LEAN_AND_MEAN
+# include <windows.h>
+# undef WIN32_LEAN_AND_MEAN
 # include "Ecore_Win32.h"
 # include "ecore_win32_private.h"
 #endif /* BUILD_ECORE_EVAS_WIN32 */