summaryrefslogtreecommitdiffstats
path: root/patches/xf86-video-intel-2.21.15/0002-fix-building-with-latest-udev.patch
blob: ec7d5348b4b7dc313b4108df1f6979d668abe36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Fri, 29 May 2015 13:39:27 +0200
Subject: [PATCH] fix building with latest udev

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 src/uxa/intel_driver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index 675408da6a8f..6940b1055404 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -44,6 +44,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
+#include <sys/stat.h>
 
 #include "xf86.h"
 #include "xf86_OSproc.h"