shm: replace inclusion of terminal.h with a forward declaration of damage

It’s the only thing we “need” from terminal.h
This commit is contained in:
Daniel Eklöf 2021-07-15 22:21:37 +02:00
parent 9b6cee825b
commit f5da62c462
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
shm.h
View file

@ -7,7 +7,7 @@
#include <pixman.h>
#include <wayland-client.h>
#include "terminal.h"
struct damage;
struct buffer {
bool locked; /* Caller owned, shm wont destroy it */