Just in case we're running on something quite old. Signed-off-by: Daniel Stone <[email protected]> --- clients/simple-dmabuf-drm.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/clients/simple-dmabuf-drm.c b/clients/simple-dmabuf-drm.c index df96758c9..fcab30e5c 100644 --- a/clients/simple-dmabuf-drm.c +++ b/clients/simple-dmabuf-drm.c @@ -62,6 +62,10 @@ #include "fullscreen-shell-unstable-v1-client-protocol.h" #include "linux-dmabuf-unstable-v1-client-protocol.h" +#ifndef DRM_FORMAT_MOD_LINEAR +#define DRM_FORMAT_MOD_LINEAR 0 +#endif + struct buffer; /* Possible options that affect the displayed image */ -- 2.17.1 _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
