From 95405911051dbb233902c95f824dccdde1e419fd Mon Sep 17 00:00:00 2001 From: Carl Smedstad Date: Sun, 6 Nov 2022 20:31:41 +0100 Subject: Add missing includes & remove duplicates --- include/sway/desktop/launcher.h | 1 + include/sway/input/text_input.h | 1 - include/sway/tree/node.h | 1 + include/sway/tree/view.h | 2 +- include/sway/tree/workspace.h | 1 + include/swaybar/tray/item.h | 1 + include/swaynag/types.h | 4 ++++ 7 files changed, 9 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/sway/desktop/launcher.h b/include/sway/desktop/launcher.h index 3b577f74..d5651adf 100644 --- a/include/sway/desktop/launcher.h +++ b/include/sway/desktop/launcher.h @@ -2,6 +2,7 @@ #define _SWAY_LAUNCHER_H #include +#include struct launcher_ctx { pid_t pid; diff --git a/include/sway/input/text_input.h b/include/sway/input/text_input.h index c70fd935..4de96d44 100644 --- a/include/sway/input/text_input.h +++ b/include/sway/input/text_input.h @@ -4,7 +4,6 @@ #include #include #include -#include "sway/input/seat.h" /** * The relay structure manages the relationship between text-input and diff --git a/include/sway/tree/node.h b/include/sway/tree/node.h index 470ee3b5..03a389a4 100644 --- a/include/sway/tree/node.h +++ b/include/sway/tree/node.h @@ -1,5 +1,6 @@ #ifndef _SWAY_NODE_H #define _SWAY_NODE_H +#include #include #include "list.h" diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 1b033ee5..273ff364 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -2,7 +2,7 @@ #define _SWAY_VIEW_H #include #include -#include "config.h" +#include "sway/config.h" #if HAVE_XWAYLAND #include #endif diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h index b3d93a81..b0fef4ca 100644 --- a/include/sway/tree/workspace.h +++ b/include/sway/tree/workspace.h @@ -2,6 +2,7 @@ #define _SWAY_WORKSPACE_H #include +#include "sway/config.h" #include "sway/tree/container.h" #include "sway/tree/node.h" diff --git a/include/swaybar/tray/item.h b/include/swaybar/tray/item.h index c02a5582..73937a0c 100644 --- a/include/swaybar/tray/item.h +++ b/include/swaybar/tray/item.h @@ -4,6 +4,7 @@ #include #include #include +#include #include "swaybar/tray/tray.h" #include "list.h" diff --git a/include/swaynag/types.h b/include/swaynag/types.h index 31c6ac08..9c3c50db 100644 --- a/include/swaynag/types.h +++ b/include/swaynag/types.h @@ -1,6 +1,10 @@ #ifndef _SWAYNAG_TYPES_H #define _SWAYNAG_TYPES_H +#include +#include +#include "list.h" + struct swaynag_type { char *name; -- cgit v1.2.3