summaryrefslogtreecommitdiff
path: root/community/gluon/gcc47.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gluon/gcc47.patch')
-rw-r--r--community/gluon/gcc47.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/gluon/gcc47.patch b/community/gluon/gcc47.patch
new file mode 100644
index 000000000..1f2a22306
--- /dev/null
+++ b/community/gluon/gcc47.patch
@@ -0,0 +1,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>
+