summaryrefslogtreecommitdiff
path: root/kms++/src/card.cpp
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2018-07-26 15:21:38 -0500
committerTomi Valkeinen <tomi.valkeinen@iki.fi>2018-09-28 19:19:13 +0300
commitddb9e86bc97df9b586f63c59ddce0fec53f3c3c3 (patch)
tree0eb079cfdf0660efb9ee81fccfe44d4410d59109 /kms++/src/card.cpp
parent5d443ed7acb194e4831400d3e1cec5bcb40dc917 (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/card.cpp')
-rw-r--r--kms++/src/card.cpp1
1 files changed, 1 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>