summaryrefslogtreecommitdiff
diff options
authorTasos Sahanidis <ppa@tasossah.com>2018-03-03 14:42:33 +0200
committerTasos Sahanidis <ppa@tasossah.com>2018-03-03 14:42:33 +0200
commit5b1ff14cd091df72fafb91de461de7eac0ca2545 (patch)
tree87b1d1256c772b098155aec434156c8cbf03fcb7
parent68b6a77bfeb3f0ebb166548bb1af0afb230f09a3 (diff)
Fix gcc 7.2 build errorsgcc-72-errors
(bzr r4270)
-rw-r--r--UnityCore/GLibSource.h1
-rw-r--r--unity-shared/IconLoader.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/UnityCore/GLibSource.h b/UnityCore/GLibSource.h
index 061fa2b69..6994dc312 100644
--- a/UnityCore/GLibSource.h
+++ b/UnityCore/GLibSource.h
@@ -25,6 +25,7 @@
#include <glib.h>
#include <memory>
#include <unordered_map>
+#include <functional>
namespace unity
{
diff --git a/unity-shared/IconLoader.h b/unity-shared/IconLoader.h
index fb4587e35..81041a6d5 100644
--- a/unity-shared/IconLoader.h
+++ b/unity-shared/IconLoader.h
@@ -23,6 +23,7 @@
#include <boost/utility.hpp>
#include <memory>
+#include <functional>
#include <gtk/gtk.h>
#include <UnityCore/ActionHandle.h>
#include <UnityCore/GLibWrapper.h>