1From 2486c9ecc1db12132ee8c77ed69b1d301e75786b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 1 Feb 2019 23:35:24 -0800
4Subject: [PATCH] include errno.h for errno definition
5
6This fixes errors with clang/libc++
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 vboxtouch/setshape.cpp  | 1 +
12 vboxtouch/vboxtouch.cpp | 1 +
13 2 files changed, 2 insertions(+)
14
15diff --git a/vboxtouch/setshape.cpp b/vboxtouch/setshape.cpp
16index 092f888..4dd25a1 100644
17--- a/vboxtouch/setshape.cpp
18+++ b/vboxtouch/setshape.cpp
19@@ -24,6 +24,7 @@
20 #include <QByteArray>
21 #include <QDebug>
22
23+#include <errno.h>
24 #include <stdint.h>
25 #include <string.h>
26
27diff --git a/vboxtouch/vboxtouch.cpp b/vboxtouch/vboxtouch.cpp
28index 345fdcb..ffe1d50 100644
29--- a/vboxtouch/vboxtouch.cpp
30+++ b/vboxtouch/vboxtouch.cpp
31@@ -32,6 +32,7 @@
32
33 #include <qpa/qwindowsysteminterface.h>
34
35+#include <errno.h>
36 #include <fcntl.h>
37 #include <string.h>
38 #include <unistd.h>
39