[PATCH] compositor-drm: fix libbacklight build
Pekka Paalanen
ppaalanen at gmail.com
Fri Mar 2 07:33:17 PST 2012
Bad inclusion of DRM headers, missing some system headers.
Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
src/libbacklight.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/libbacklight.c b/src/libbacklight.c
index b2e19bf..7ff0b86 100644
--- a/src/libbacklight.c
+++ b/src/libbacklight.c
@@ -31,11 +31,13 @@
#define _GNU_SOURCE
-#include <libbacklight.h>
+#include "libbacklight.h"
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
#include <linux/types.h>
#include <dirent.h>
-#include <drm/drm_mode.h>
+#include <drm.h>
#include <fcntl.h>
#include <malloc.h>
#include <string.h>
--
1.7.3.4
More information about the wayland-devel
mailing list