summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch')
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch
new file mode 100644
index 0000000000..37617600d5
--- /dev/null
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch
@@ -0,0 +1,28 @@
1From 79bc507b48d4acd3dec8a85ab6b341b872d44a05 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Jan 2019 22:40:24 -0800
4Subject: [PATCH] calibrator.hh: Include <string> to get std::string
5
6Found with libc++
7
8Upstream-Status: Submitted [https://github.com/tias/xinput_calibrator/pull/76]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/calibrator.hh | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/calibrator.hh b/src/calibrator.hh
15index a6f9504..e75bcef 100644
16--- a/src/calibrator.hh
17+++ b/src/calibrator.hh
18@@ -29,6 +29,7 @@
19 #include <X11/Xlib.h>
20 #include <stdio.h>
21 #include <vector>
22+#include <string>
23
24 // XXX: we currently don't handle lines that are longer than this
25 #define MAX_LINE_LEN 1024
26--
272.20.1
28