aboutsummaryrefslogtreecommitdiffstats
path: root/testing/user-managerd/fix-build.patch
blob: 1c40eb8e1fcc9236bed3b5e9644ffbf12d0e9448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Upstream merge-request: https://github.com/sailfishos/user-managerd/pull/10

diff --git a/sailfishusermanager.h b/sailfishusermanager.h
index 93cd3df..cd723f8 100644
--- a/sailfishusermanager.h
+++ b/sailfishusermanager.h
@@ -10,6 +10,10 @@
 #ifndef SAILFISHUSERMANAGER_H
 #define SAILFISHUSERMANAGER_H
 
+#ifndef __GLIBC__
+#include <sys/types.h>
+#endif
+
 #include "sailfishusermanagerinterface.h"
 #include "systemdmanager.h"
 #include <QDBusContext>