From: dooglus Date: Wed, 21 Mar 2007 08:42:05 +0000 (+0000) Subject: Switch the order of the #includes to fix a build problem on WIN32. winnt.h defines... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7891f6bc9f44fa9cd14cbe3d2e103a9635969353;p=synfig.git 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 --- 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 ========================================================= */