[PATCH xf86-video-xgi] Modify search for drm include.

Trevor Woerner twoerner at gmail.com
Wed Jul 28 13:34:48 PDT 2010


From: Trevor Woerner <twoerner at gmail.com>

The build system already includes the location of the drm header
file (using -I) so the source doesn't need to hard-code the
relative path.

Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
 src/xgi_dri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xgi_dri.c b/src/xgi_dri.c
index d6a6d3d..93687e1 100755
--- a/src/xgi_dri.c
+++ b/src/xgi_dri.c
@@ -66,7 +66,7 @@
 
 #include "xgi_accel.h"
 #include "xgi_common.h"
-#include <drm/drm.h>
+#include "drm.h"
 
 extern void GlxSetVisualConfigs(
     int nconfigs,
-- 
1.7.1



More information about the xorg-devel mailing list