summaryrefslogtreecommitdiff
diff options
-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>