diff --git a/include/action.h b/include/action.h index 76dd54f8..799c15ce 100644 --- a/include/action.h +++ b/include/action.h @@ -2,6 +2,7 @@ #ifndef LABWC_ACTION_H #define LABWC_ACTION_H +#include #include struct view; diff --git a/include/button/common.h b/include/button/common.h index 686f3e90..b3b5039c 100644 --- a/include/button/common.h +++ b/include/button/common.h @@ -2,6 +2,8 @@ #ifndef LABWC_BUTTON_COMMON_H #define LABWC_BUTTON_COMMON_H +#include + /** * button_filename() - Get full filename for button. * @name: The name of the button (for example 'iconify.xbm'). diff --git a/include/common/scaled_scene_buffer.h b/include/common/scaled_scene_buffer.h index d0d96920..db59cca1 100644 --- a/include/common/scaled_scene_buffer.h +++ b/include/common/scaled_scene_buffer.h @@ -2,11 +2,11 @@ #ifndef LABWC_SCALED_SCENE_BUFFER_H #define LABWC_SCALED_SCENE_BUFFER_H +#include + #define LAB_SCALED_BUFFER_MAX_CACHE 2 -struct wl_list; struct wlr_buffer; -struct wl_listener; struct wlr_scene_tree; struct lab_data_buffer; struct scaled_scene_buffer; diff --git a/include/config/default-bindings.h b/include/config/default-bindings.h index 553fb32e..535ee25a 100644 --- a/include/config/default-bindings.h +++ b/include/config/default-bindings.h @@ -2,6 +2,8 @@ #ifndef LABWC_DEFAULT_BINDINGS_H #define LABWC_DEFAULT_BINDINGS_H +#include + static struct key_combos { const char *binding, *action; struct { diff --git a/include/config/touch.h b/include/config/touch.h index 96423f93..e9880820 100644 --- a/include/config/touch.h +++ b/include/config/touch.h @@ -3,6 +3,7 @@ #define LABWC_TOUCH_CONFIG_H #include +#include struct touch_config_entry { char *device_name; diff --git a/include/labwc.h b/include/labwc.h index e0790727..c281c5cd 100644 --- a/include/labwc.h +++ b/include/labwc.h @@ -46,7 +46,6 @@ #include "config/keybind.h" #include "config/rcxml.h" #include "input/cursor.h" -#include "input/ime.h" #include "overlay.h" #include "regions.h" #include "session-lock.h" diff --git a/include/window-rules.h b/include/window-rules.h index 3bbc3b97..17c5dca3 100644 --- a/include/window-rules.h +++ b/include/window-rules.h @@ -2,6 +2,9 @@ #ifndef LABWC_WINDOW_RULES_H #define LABWC_WINDOW_RULES_H +#include +#include + enum window_rule_event { LAB_WINDOW_RULE_EVENT_ON_FIRST_MAP = 0, }; diff --git a/src/debug.c b/src/debug.c index 3a1a1761..75f2f794 100644 --- a/src/debug.c +++ b/src/debug.c @@ -4,6 +4,7 @@ #include "common/graphic-helpers.h" #include "common/scene-helpers.h" #include "debug.h" +#include "input/ime.h" #include "labwc.h" #include "node.h" #include "ssd.h" diff --git a/src/input/keyboard.c b/src/input/keyboard.c index d0db6cb1..59761681 100644 --- a/src/input/keyboard.c +++ b/src/input/keyboard.c @@ -7,6 +7,7 @@ #include #include "action.h" #include "idle.h" +#include "input/ime.h" #include "input/keyboard.h" #include "input/key-state.h" #include "labwc.h" diff --git a/src/seat.c b/src/seat.c index e504c6d7..6fbeb595 100644 --- a/src/seat.c +++ b/src/seat.c @@ -9,6 +9,7 @@ #include #include #include "common/mem.h" +#include "input/ime.h" #include "input/tablet.h" #include "input/tablet_pad.h" #include "input/input.h"