[PATCH 2/4] Xorg.wrap: Use <drm.h> instead of hardcoding libdrm include path
Guillem Jover
guillem at hadrons.org
Mon Apr 14 09:13:23 PDT 2014
The libdrm.pc file gives us the correct include path, do not try to
hardcode it on the source, as it might vary on the installed system,
for example on Debian-based systems it's under /user/include/libdrm/.
Signed-off-by: Guillem Jover <guillem at hadrons.org>
---
hw/xfree86/xorg-wrapper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/xorg-wrapper.c b/hw/xfree86/xorg-wrapper.c
index 90c8c11..80889e8 100644
--- a/hw/xfree86/xorg-wrapper.c
+++ b/hw/xfree86/xorg-wrapper.c
@@ -35,7 +35,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
-#include <drm/drm.h>
+#include <drm.h>
#include <xf86drm.h> /* For DRM_DEV_NAME */
#define CONFIG_FILE SYSCONFDIR "/X11/Xwrapper.config"
--
1.9.1.662.g3e70902
More information about the xorg-devel
mailing list