From f5da62c462430551869d830ef6c4302d4c3b4fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 15 Jul 2021 22:21:37 +0200 Subject: [PATCH] shm: replace inclusion of terminal.h with a forward declaration of damage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s the only thing we “need” from terminal.h --- shm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shm.h b/shm.h index 43398cc9..dc37f1b7 100644 --- a/shm.h +++ b/shm.h @@ -7,7 +7,7 @@ #include #include -#include "terminal.h" +struct damage; struct buffer { bool locked; /* Caller owned, shm won’t destroy it */