summaryrefslogtreecommitdiff
path: root/community/gluon/gcc47.patch
blob: 1f2a22306d6315da1e62e32409e5003e1db2eaef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Christoph Feck <christoph@maxiom.de>
Date: Fri, 23 Mar 2012 22:35:09 +0000
Subject: Fix includes
X-Git-Url: http://quickgit.kde.org/?p=gluon.git&amp;a=commitdiff&amp;h=bccbda88a6bc53ac20091bb6aefd2f1b501ba31a
---
Fix includes
---


--- a/input/linux/detectlinux.cpp
+++ b/input/linux/detectlinux.cpp
@@ -26,6 +26,7 @@
 
 #include <QtCore/QDir>
 
+#include <unistd.h>
 // #include <libudev.h>
 
 using namespace GluonInput;

--- a/input/linux/inputthread.cpp
+++ b/input/linux/inputthread.cpp
@@ -30,6 +30,7 @@
 // #include <QtCore/QStringList>
 
 #include <fcntl.h>
+#include <unistd.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <linux/input.h>