pmaports/unity8/unity8/0003-Add-missing-includes.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

39 lines
1.2 KiB
Diff

From bdf8809c66c39d3be91fdd033b20922e1aecd3c2 Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@z3ntu.xyz>
Date: Tue, 29 Jan 2019 19:24:14 +0100
Subject: [PATCH 3/5] Add missing includes
---
.../LightDM/IntegratedLightDM/liblightdm/UsersModelPrivate.h | 2 ++
tests/mocks/liblightdm/MockUsersModel.cpp | 2 ++
2 files changed, 4 insertions(+)
diff --git a/plugins/LightDM/IntegratedLightDM/liblightdm/UsersModelPrivate.h b/plugins/LightDM/IntegratedLightDM/liblightdm/UsersModelPrivate.h
index d072228dd..3dcf4c4db 100644
--- a/plugins/LightDM/IntegratedLightDM/liblightdm/UsersModelPrivate.h
+++ b/plugins/LightDM/IntegratedLightDM/liblightdm/UsersModelPrivate.h
@@ -23,6 +23,8 @@
#include <QObject>
#include <QString>
+#include <sys/types.h>
+
class AccountsServiceDBusAdaptor;
namespace QLightDM
diff --git a/tests/mocks/liblightdm/MockUsersModel.cpp b/tests/mocks/liblightdm/MockUsersModel.cpp
index cbf8354a5..4fbb9435b 100644
--- a/tests/mocks/liblightdm/MockUsersModel.cpp
+++ b/tests/mocks/liblightdm/MockUsersModel.cpp
@@ -26,6 +26,8 @@
#include <QDir>
#include <QIcon>
+#include <sys/types.h>
+
namespace QLightDM
{
--
2.20.1