aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qt5-plugin-generic-vboxtouch/0001-include-errno.h-for-errno-definition.patch
blob: ff0eb56f80e513d43ecf610a9c4c8c92e8706a49 (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
32
33
34
35
36
37
38
From 2486c9ecc1db12132ee8c77ed69b1d301e75786b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 1 Feb 2019 23:35:24 -0800
Subject: [PATCH] include errno.h for errno definition

This fixes errors with clang/libc++

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 vboxtouch/setshape.cpp  | 1 +
 vboxtouch/vboxtouch.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/vboxtouch/setshape.cpp b/vboxtouch/setshape.cpp
index 092f888..4dd25a1 100644
--- a/vboxtouch/setshape.cpp
+++ b/vboxtouch/setshape.cpp
@@ -24,6 +24,7 @@
 #include <QByteArray>
 #include <QDebug>
 
+#include <errno.h>
 #include <stdint.h>
 #include <string.h>
 
diff --git a/vboxtouch/vboxtouch.cpp b/vboxtouch/vboxtouch.cpp
index 345fdcb..ffe1d50 100644
--- a/vboxtouch/vboxtouch.cpp
+++ b/vboxtouch/vboxtouch.cpp
@@ -32,6 +32,7 @@
 
 #include <qpa/qwindowsysteminterface.h>
 
+#include <errno.h>
 #include <fcntl.h>
 #include <string.h>
 #include <unistd.h>