diff options
author | Andrew F. Davis <afd@ti.com> | 2018-07-26 15:21:38 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2018-09-28 19:19:13 +0300 |
commit | ddb9e86bc97df9b586f63c59ddce0fec53f3c3c3 (patch) | |
tree | 0eb079cfdf0660efb9ee81fccfe44d4410d59109 /kms++/src | |
parent | 5d443ed7acb194e4831400d3e1cec5bcb40dc917 (diff) |
Add include of <cerrno> to various files
This is needed for building with some version of some
compilers where it is not automatically included with
the existing include set (clang).
Signed-off-by: Andrew F. Davis <afd@ti.com>
Diffstat (limited to 'kms++/src')
-rw-r--r-- | kms++/src/card.cpp | 1 | ||||
-rw-r--r-- | kms++/src/dumbframebuffer.cpp | 1 | ||||
-rw-r--r-- | kms++/src/extframebuffer.cpp | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/kms++/src/card.cpp b/kms++/src/card.cpp index 0e6c0b0..ad6fc38 100644 --- a/kms++/src/card.cpp +++ b/kms++/src/card.cpp @@ -5,6 +5,7 @@ #include <stdexcept> #include <string.h> #include <algorithm> +#include <cerrno> #include <xf86drm.h> #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 @@ #include <cstring> +#include <cerrno> #include <stdexcept> #include <sys/mman.h> #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 @@ #include <cstring> +#include <cerrno> + #include <stdexcept> #include <sys/mman.h> #include <xf86drm.h> |