summarylogtreecommitdiffstats
path: root/0001-include-drm_fourcc.h-from-libdrm-not-the-kernel.patch
blob: aa7ddb63d472036740bc3aa42f97bc4ef4c061c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From 1ffeb1d4cfb900a241f4a8a09efd4ac18f1311dc Mon Sep 17 00:00:00 2001
From: Eric Engestrom <eric.engestrom@imgtec.com>
Date: Tue, 25 Apr 2017 10:49:39 +0100
Subject: [PATCH drminfo] include drm_fourcc.h from libdrm, not the kernel

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
---
 drminfo.c  | 2 +-
 drmtest.c  | 2 +-
 drmtools.c | 2 +-
 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>
-- 
Cheers,
  Eric