Switch the order of the #includes to fix a build problem on WIN32. winnt.h defines...
[synfig.git] / synfig-studio / trunk / src / gtkmm / preview.h
index 9754715..880e3f8 100644 (file)
@@ -26,6 +26,9 @@
 #define __SYNFIG_PREVIEW_H
 
 /* === H E A D E R S ======================================================= */
+#include <ETL/handle>
+#include <ETL/clock> /* indirectly includes winnt.h on WIN32 - needs to be included before gtkmm headers, which fix this */
+
 #include <gtkmm/drawingarea.h>
 #include <gtkmm/table.h>
 #include <gtkmm/adjustment.h>
@@ -45,9 +48,6 @@
 
 #include "widget_sound.h"
 
-#include <ETL/handle>
-#include <ETL/clock>
-
 #include <vector>
 
 /* === M A C R O S ========================================================= */