diff options
author | Guillem Jover <guillem@hadrons.org> | 2014-04-14 18:13:23 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-04-18 11:40:01 +0200 |
commit | 50b6e1b0d786d95ee8eab030b0d1fd7420e2fbeb (patch) | |
tree | 93920ee6c325b3c73f3fb549e10e128c967dcbc8 | |
parent | 7bffceb9f939c0bf5529b00500cbb14ae01bb61a (diff) |
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>
-rw-r--r-- | hw/xfree86/xorg-wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/xorg-wrapper.c b/hw/xfree86/xorg-wrapper.c index 90c8c11ef..80889e89c 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" |