Commit 50b6e1b0 authored by Guillem Jover's avatar Guillem Jover Committed by Hans de Goede
Browse files

Xorg.wrap: Use <drm.h> instead of hardcoding libdrm include path

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's avatarGuillem Jover <>
Reviewed-by: default avatarHans de Goede <>
Signed-off-by: default avatarHans de Goede <>
parent 7bffceb9
......@@ -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"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment