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 <guillem@hadrons.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
7bffceb9f9
commit
50b6e1b0d7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user