From 80c46ced8caea74ca99f32573ee2a823e3b07aec Mon Sep 17 00:00:00 2001
From: pospelov <pospelov@fz-juelich.de>
Date: Fri, 5 Jul 2013 15:14:19 +0200
Subject: [PATCH] Fix to compile under mint linux

---
 Core/Tools/inc/Utils.h | 2 +-
 shared.pri             | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Core/Tools/inc/Utils.h b/Core/Tools/inc/Utils.h
index ab8dd7d70a5..55189a185eb 100644
--- a/Core/Tools/inc/Utils.h
+++ b/Core/Tools/inc/Utils.h
@@ -20,7 +20,7 @@
 #include "Types.h"
 #include "Exceptions.h"
 #include <boost/unordered_map.hpp>
-
+#include <map>
 
 namespace Utils {
 
diff --git a/shared.pri b/shared.pri
index 2a513181871..8144762e461 100644
--- a/shared.pri
+++ b/shared.pri
@@ -1,3 +1,7 @@
+# Common settings for all BornAgain compilations
+
+CONFIG  += BORNAGAIN_PYTHON # provide python bindings compilation
+
 win32 {
     MAKE_COMMAND = mingw32-make
     SONAME = a
@@ -241,7 +245,6 @@ CONFIG(BORNAGAIN_ROOT) {
 # -----------------------------------------------------------------------------
 # add python API support
 # -----------------------------------------------------------------------------
-CONFIG  += BORNAGAIN_PYTHON
 CONFIG(BORNAGAIN_PYTHON) {
   # user wants to compile python module
   macx|unix {
-- 
GitLab