aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYongqin Liu2018-03-29 04:02:33 -0500
committerPraneeth Bajjuri2018-06-18 15:37:00 -0500
commit42fef6b1b7fb49499c6705f03561dda9464cbe0b (patch)
tree6fa5129e9a06c7cd9f61bb641d5103fb1d36fb23
parent6299796e5226a50649f3eae986148722057f382e (diff)
downloadexternal-kmsxx-d-oreo-mr1-core-release.tar.gz
external-kmsxx-d-oreo-mr1-core-release.tar.xz
external-kmsxx-d-oreo-mr1-core-release.zip
ANDROID: fix compiiling error with p-previewd-oreo-mr1-core-release
need to include cerrno explicitly to use errno Change-Id: Ib7f9067cda07924ae0f89bffc73015657cfe010e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--kms++/src/card.cpp1
-rw-r--r--kms++/src/dumbframebuffer.cpp1
-rw-r--r--kms++/src/extframebuffer.cpp2
3 files changed, 4 insertions, 0 deletions
diff --git a/kms++/src/card.cpp b/kms++/src/card.cpp
index f7f1a5a..d71db7c 100644
--- a/kms++/src/card.cpp
+++ b/kms++/src/card.cpp
@@ -5,6 +5,7 @@
5#include <stdexcept> 5#include <stdexcept>
6#include <string.h> 6#include <string.h>
7#include <algorithm> 7#include <algorithm>
8#include <cerrno>
8 9
9#include <xf86drm.h> 10#include <xf86drm.h>
10#include <xf86drmMode.h> 11#include <xf86drmMode.h>
diff --git a/kms++/src/dumbframebuffer.cpp b/kms++/src/dumbframebuffer.cpp
index b21e8ff..4419687 100644
--- a/kms++/src/dumbframebuffer.cpp
+++ b/kms++/src/dumbframebuffer.cpp
@@ -1,5 +1,6 @@
1 1
2#include <cstring> 2#include <cstring>
3#include <cerrno>
3#include <stdexcept> 4#include <stdexcept>
4#include <sys/mman.h> 5#include <sys/mman.h>
5#include <xf86drm.h> 6#include <xf86drm.h>
diff --git a/kms++/src/extframebuffer.cpp b/kms++/src/extframebuffer.cpp
index c1f562e..12e59b7 100644
--- a/kms++/src/extframebuffer.cpp
+++ b/kms++/src/extframebuffer.cpp
@@ -1,5 +1,7 @@
1 1
2#include <cstring> 2#include <cstring>
3#include <cerrno>
4
3#include <stdexcept> 5#include <stdexcept>
4#include <sys/mman.h> 6#include <sys/mman.h>
5#include <xf86drm.h> 7#include <xf86drm.h>