]> git.mdlowis.com Git - proto/labwc.git/commitdiff
include: add missing header dependencies
authorJohn Lindgren <john@jlindgren.net>
Mon, 28 Jul 2025 05:03:22 +0000 (01:03 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 29 Jul 2025 20:51:56 +0000 (21:51 +0100)
Ensure that headers compile correctly regardless of include order.

include/common/graphic-helpers.h
include/config/touch.h
include/input/tablet.h

index 3fdde6adec7607d265d563d45b7f413f07858e02..886a4c920989af65e317fb0edfb6a1b4bfe92a7a 100644 (file)
@@ -2,6 +2,8 @@
 #ifndef LABWC_GRAPHIC_HELPERS_H
 #define LABWC_GRAPHIC_HELPERS_H
 
+#include <stdbool.h>
+#include <stdint.h>
 #include <cairo.h>
 
 struct wlr_fbox;
index 12f7b032de17303f0b7e5b9b4586f8c18f0a342f..1a05670e2f130c6e168ee26522fa89f410dae48b 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef LABWC_TOUCH_CONFIG_H
 #define LABWC_TOUCH_CONFIG_H
 
-#include <stdint.h>
+#include <stdbool.h>
 #include <wayland-util.h>
 
 struct touch_config_entry {
index 29aeb72b30851469bf015cc364a1d2071e1b8724..d90fbdb46a6501c41e36f20f54690755534117af 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <wayland-server-core.h>
 #include <wlr/types/wlr_tablet_v2.h>
+#include "config/tablet-tool.h"
 
 struct seat;
 struct wlr_device;