mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-13 17:30:30 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue