Require libdrm >= 2.4.95

This commit is contained in:
emersion 2019-01-29 19:33:38 +01:00
parent feb1b9b1cb
commit 75371d2c88
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
6 changed files with 11 additions and 20 deletions

View file

@ -70,5 +70,11 @@ lib_wlr_types = static_library(
'wlr_xdg_output_v1.c',
),
include_directories: wlr_inc,
dependencies: [pixman, xkbcommon, wayland_server, wlr_protos, libinput],
dependencies: [
drm.partial_dependency(compile_args: true), # <drm_fourcc.h>
pixman,
wayland_server,
wlr_protos,
xkbcommon,
],
)

View file

@ -1,5 +1,6 @@
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <drm_fourcc.h>
#include <stdlib.h>
#include <unistd.h>
#include <wayland-server.h>