mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 09:08:16 +02:00
xcb: Fix compilation without dri2
XCB should be able to compile without xcb-drm. To do so it can include xcb/dri2.h only if xcb-drm is enabled.
This commit is contained in:
parent
fc7be0014d
commit
20f8f17f0e
1 changed files with 2 additions and 0 deletions
|
|
@ -43,7 +43,9 @@
|
|||
#include "cairo-xcb.h"
|
||||
#include "cairo-xcb-private.h"
|
||||
|
||||
#if CAIRO_HAS_XCB_DRM_FUNCTIONS
|
||||
#include <xcb/dri2.h>
|
||||
#endif
|
||||
|
||||
#define AllPlanes ((unsigned) -1)
|
||||
#define CAIRO_ASSUME_PIXMAP 20
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue