From: Jan Macku Date: Wed, 15 Jan 2025 14:06:46 +0000 (+0100) Subject: shared/bus-util: add missing `set.h` include X-Git-Tag: v258-rc1~1583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca97d48bd425685d4ec20397812c3b1b006f5070;p=thirdparty%2Fsystemd.git shared/bus-util: add missing `set.h` include ``` In file included from ../src/shared/bus-get-properties.c:4: ../src/shared/bus-message-util.h:22:60: error: unknown type name ‘Set’ 22 | int bus_message_append_string_set(sd_bus_message *m, const Set *s); | ^~~ ../src/shared/bus-get-properties.c: In function ‘bus_property_get_string_set’: ../src/shared/bus-get-properties.c:178:9: error: unknown type name ‘Set’ 178 | Set **s = ASSERT_PTR(userdata); | ^~~ ``` follow-up to https://github.com/systemd/systemd/commit/91080bc9733b5b2478bfc0ed58f6a7ae5da7e639 --- diff --git a/src/shared/bus-message-util.h b/src/shared/bus-message-util.h index d4a05f5b9c2..02c670695e4 100644 --- a/src/shared/bus-message-util.h +++ b/src/shared/bus-message-util.h @@ -4,6 +4,7 @@ #include "sd-bus.h" #include "in-addr-util.h" +#include "set.h" #include "socket-netlink.h" int bus_message_read_id128(sd_bus_message *m, sd_id128_t *ret);