aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2017-04-25 10:49:42 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-04-26 07:31:13 +0200
commitfc53497204c324d3b72995bd7a06d765fcf3f92c (patch)
treef1b4dbd0a6d31b49023de3ab777005a0fbfad469
parent25f5e0e551a2add3129b2f3edf31040f7e1b1872 (diff)
downloaddrminfo-fc53497204c324d3b72995bd7a06d765fcf3f92c.tar.gz
include drm_fourcc.h from libdrm, not the kernel
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--drminfo.c2
-rw-r--r--drmtest.c2
-rw-r--r--drmtools.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drminfo.c b/drminfo.c
index 43a4fac..195298f 100644
--- a/drminfo.c
+++ b/drminfo.c
@@ -9,7 +9,7 @@
#include <getopt.h>
#include <sys/ioctl.h>
-#include <drm/drm_fourcc.h>
+#include <libdrm/drm_fourcc.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
diff --git a/drmtest.c b/drmtest.c
index 4266149..2e9216a 100644
--- a/drmtest.c
+++ b/drmtest.c
@@ -13,7 +13,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>
-#include <drm/drm_fourcc.h>
+#include <libdrm/drm_fourcc.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
diff --git a/drmtools.c b/drmtools.c
index 581886a..c71ddae 100644
--- a/drmtools.c
+++ b/drmtools.c
@@ -8,7 +8,7 @@
#include <inttypes.h>
#include <sys/ioctl.h>
-#include <drm/drm_fourcc.h>
+#include <libdrm/drm_fourcc.h>
#include <xf86drm.h>
#include <xf86drmMode.h>