libkmsxx: Add include of <cerrno.h> to various files
authorAndrew F. Davis <afd@ti.com>
Thu, 26 Jul 2018 20:21:38 +0000 (15:21 -0500)
committerAlistair Strachan <astrachan@google.com>
Thu, 27 Sep 2018 19:36:40 +0000 (12:36 -0700)
Test: Boot to UI with BeagleBoard X15
Change-Id: I323cbcc908056765ea231991d70488452c0010a5
Signed-off-by: Andrew F. Davis <afd@ti.com>
kms++/src/card.cpp
kms++/src/dumbframebuffer.cpp
kms++/src/extframebuffer.cpp

index f7f1a5aa3598c246807afaa6e6e90bafb1212a47..d71db7c7825df298c05219318235252c26fbc842 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdexcept>
 #include <string.h>
 #include <algorithm>
+#include <cerrno>
 
 #include <xf86drm.h>
 #include <xf86drmMode.h>
index b21e8ff0072e6fce3fbf0634311d6d40552455d9..4419687c37f43aa7c3d0a7814ea3fe85fa338ea7 100644 (file)
@@ -1,5 +1,6 @@
 
 #include <cstring>
+#include <cerrno>
 #include <stdexcept>
 #include <sys/mman.h>
 #include <xf86drm.h>
index c1f562e282951662fa538be7439e71ffa09f4f45..12e59b7d4188db12b411aa33b94d5a7969137071 100644 (file)
@@ -1,5 +1,7 @@
 
 #include <cstring>
+#include <cerrno>
+
 #include <stdexcept>
 #include <sys/mman.h>
 #include <xf86drm.h>