[PATCH] Fix build error: "missing drm.h"

Liu Liu
Wed Apr 27 19:49:19 PDT 2011


---
 compositor/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compositor/Makefile.am b/compositor/Makefile.am
index fc78d88..c4e8b62 100644
--- a/compositor/Makefile.am
+++ b/compositor/Makefile.am
@@ -8,7 +8,7 @@ AM_CPPFLAGS =					\
 	$(WAYLAND_COMPOSITOR_CFLAGS)		\
 	$(OPENWFD_COMPOSITOR_CFLAGS)

-AM_CFLAGS = $(GCC_CFLAGS)
+AM_CFLAGS = $(GCC_CFLAGS) -I$(includedir)/libdrm

 compositor_LDFLAGS = -export-dynamic
 compositor_LDADD =				\
-- 
1.7.1

-- 
Best Regards,
Liu, Xinyun


More information about the wayland-devel mailing list