aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-07-15 20:21:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-17 17:14:41 +0000
commitf5da62c462430551869d830ef6c4302d4c3b4fea (patch)
tree576d6587036ecb6aea80ab5b82d40f2ea9beb898
parentshm: rename buffer.mmapped to buffer.data (diff)
shm: replace inclusion of terminal.h with a forward declaration of damage
It’s the only thing we “need” from terminal.h
-rw-r--r--shm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shm.h b/shm.h
index 43398cc9..dc37f1b7 100644
--- a/shm.h
+++ b/shm.h
@@ -7,7 +7,7 @@
#include <pixman.h>
#include <wayland-client.h>
-#include "terminal.h"
+struct damage;
struct buffer {
bool locked; /* Caller owned, shm won’t destroy it */