From 7891f6bc9f44fa9cd14cbe3d2e103a9635969353 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 21 Mar 2007 08:42:05 +0000 Subject: [PATCH] Switch the order of the #includes to fix a build problem on WIN32. winnt.h defines DELETE, which gtkmm headers fix, but only if winnt.h is included before the gtkmm headers are. winnt.h is being included by ETL/clock, so move that include up. git-svn-id: http://svn.voria.com/code@362 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/preview.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/preview.h b/synfig-studio/trunk/src/gtkmm/preview.h index 9754715..880e3f8 100644 --- a/synfig-studio/trunk/src/gtkmm/preview.h +++ b/synfig-studio/trunk/src/gtkmm/preview.h @@ -26,6 +26,9 @@ #define __SYNFIG_PREVIEW_H /* === H E A D E R S ======================================================= */ +#include +#include /* indirectly includes winnt.h on WIN32 - needs to be included before gtkmm headers, which fix this */ + #include #include #include @@ -45,9 +48,6 @@ #include "widget_sound.h" -#include -#include - #include /* === M A C R O S ========================================================= */ -- 2.7.4