]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/bus-util: add missing `set.h` include
authorJan Macku <jamacku@redhat.com>
Wed, 15 Jan 2025 14:06:46 +0000 (15:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 16 Jan 2025 09:49:04 +0000 (10:49 +0100)
```
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

src/shared/bus-message-util.h

index d4a05f5b9c28ae72e7a96b9a22a86e561351f403..02c670695e42772cac2b5e257a1da4d6bc787ef9 100644 (file)
@@ -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);