summarylogtreecommitdiffstats
path: root/add-missing-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'add-missing-includes.patch')
-rw-r--r--add-missing-includes.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/add-missing-includes.patch b/add-missing-includes.patch
new file mode 100644
index 000000000000..e94638d0e6f9
--- /dev/null
+++ b/add-missing-includes.patch
@@ -0,0 +1,28 @@
+Index: kiofuseapp.h
+===================================================================
+--- kiofuseapp.h (revision 1360808)
++++ kiofuseapp.h (working copy)
+@@ -22,6 +22,9 @@
+ #define KIO_FUSE_APP_H
+
+ #include <errno.h>
++extern "C" {
++#include <stdint.h>
++}
+
+ #include "cache.h"
+ #include "jobhelpers.h"
+Index: kiofuseops.cpp
+===================================================================
+--- kiofuseops.cpp (revision 1360808)
++++ kiofuseops.cpp (working copy)
+@@ -24,6 +24,9 @@
+ #include <QThread>
+
+ #include <kdebug.h>
++extern "C" {
++#include <unistd.h>
++}
+
+ int kioFuseGetAttr(const char *relPath, struct stat *stbuf)
+ {