From 68cf69fabceecec3c4de1df6ee40ee681d5fdc81 Mon Sep 17 00:00:00 2001 From: EinMByte Date: Sun, 27 Sep 2015 22:41:37 +0200 Subject: [PATCH] Fix #272. --- core/util/util.cpp | 2 +- core/util/util.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/util/util.cpp b/core/util/util.cpp index abc14c2b..eef5d1f0 100644 --- a/core/util/util.cpp +++ b/core/util/util.cpp @@ -1,3 +1,4 @@ +#include "util.h" #include #include #include @@ -12,7 +13,6 @@ #include #include #include -#include "util.h" #include "Log.h" #if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__OpenBSD__) diff --git a/core/util/util.h b/core/util/util.h index b057d047..fe47cbf6 100644 --- a/core/util/util.h +++ b/core/util/util.h @@ -1,6 +1,8 @@ #ifndef UTIL_H #define UTIL_H +#define BOOST_NO_CXX11_SCOPED_ENUMS // Workaround for issue #272 + #include #include #include