summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/src')
-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 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>