aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine/machina/Mutation.hpp2
-rw-r--r--src/engine/machina/Problem.hpp2
-rw-r--r--src/gui/MachinaGUI.hpp2
-rw-r--r--src/gui/main.cpp2
4 files changed, 3 insertions, 5 deletions
diff --git a/src/engine/machina/Mutation.hpp b/src/engine/machina/Mutation.hpp
index 6d97d29..eca3e37 100644
--- a/src/engine/machina/Mutation.hpp
+++ b/src/engine/machina/Mutation.hpp
@@ -20,7 +20,7 @@
#include "config.h"
-#if HAVE_EUGENE
+#ifdef HAVE_EUGENE
#include "eugene/Mutation.hpp"
#define SUPER : public Eugene::Mutation<Machine>
#else
diff --git a/src/engine/machina/Problem.hpp b/src/engine/machina/Problem.hpp
index 9f15e09..c0c1662 100644
--- a/src/engine/machina/Problem.hpp
+++ b/src/engine/machina/Problem.hpp
@@ -18,8 +18,6 @@
#ifndef MACHINA_PROBLEM_HPP
#define MACHINA_PROBLEM_HPP
-#include "config.h"
-
#include <map>
#include "raul/MIDISink.hpp"
#include "machina/Machine.hpp"
diff --git a/src/gui/MachinaGUI.hpp b/src/gui/MachinaGUI.hpp
index c539bd0..421aff6 100644
--- a/src/gui/MachinaGUI.hpp
+++ b/src/gui/MachinaGUI.hpp
@@ -20,9 +20,9 @@
#include <string>
#include <libgnomecanvasmm.h>
+#include "config.h"
#include "raul/SharedPtr.hpp"
#include "raul/Maid.hpp"
-#include "machina/Engine.hpp"
using namespace std;
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 8d17479..008ebae 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -15,12 +15,12 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "config.h"
#include <signal.h>
#include <iostream>
#include <string>
#include <libgnomecanvasmm.h>
#include "redlandmm/World.hpp"
-#include "config.h"
#include "machina/Machine.hpp"
#include "machina/Loader.hpp"
#include "machina/SMFDriver.hpp"