buffer: guard gbm.h after 3742dc7144
../src/buffer.c:25:10: fatal error: 'gbm.h' file not found #include <gbm.h> ^~~~~~~pull/62/head v0.2.0
parent
800b0d6cb7
commit
6916780389
|
@ -22,7 +22,6 @@
|
|||
#include <sys/mman.h>
|
||||
#include <libdrm/drm_fourcc.h>
|
||||
#include <wayland-client.h>
|
||||
#include <gbm.h>
|
||||
#include <pixman.h>
|
||||
|
||||
#include "linux-dmabuf-unstable-v1.h"
|
||||
|
@ -32,6 +31,10 @@
|
|||
#include "pixels.h"
|
||||
#include "config.h"
|
||||
|
||||
#ifdef ENABLE_SCREENCOPY_DMABUF
|
||||
#include <gbm.h>
|
||||
#endif
|
||||
|
||||
extern struct wl_shm* wl_shm;
|
||||
extern struct zwp_linux_dmabuf_v1* zwp_linux_dmabuf;
|
||||
extern struct gbm_device* gbm_device;
|
||||
|
|
Loading…
Reference in New Issue