pmaports/unity8/gmenuharness/0001-Add-missing-header-include.patch
Luca Weiss 8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00

38 lines
936 B
Diff

From 32d7af4f22bbd99b3bd7775290300dc920f275ac Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@z3ntu.xyz>
Date: Mon, 31 Dec 2018 18:15:02 +0100
Subject: [PATCH] Add missing header include
---
src/MatchUtils.cpp | 2 ++
tests/functional/menus/MenuMain.cpp | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/MatchUtils.cpp b/src/MatchUtils.cpp
index 19f458a..7f2c98e 100644
--- a/src/MatchUtils.cpp
+++ b/src/MatchUtils.cpp
@@ -20,6 +20,8 @@
#include <unity/util/ResourcePtr.h>
+#include <functional>
+
using namespace std;
namespace util = unity::util;
diff --git a/tests/functional/menus/MenuMain.cpp b/tests/functional/menus/MenuMain.cpp
index 5123177..cbc7cbe 100644
--- a/tests/functional/menus/MenuMain.cpp
+++ b/tests/functional/menus/MenuMain.cpp
@@ -25,6 +25,7 @@
#include <iostream>
#include <memory>
+#include <functional>
using namespace std;
using namespace unity::util;
--
2.20.1