]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-device: include missing alloc-util.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 20 Sep 2023 04:06:16 +0000 (13:06 +0900)
committerMike Yuan <me@yhndnzj.com>
Thu, 21 Sep 2023 06:28:55 +0000 (14:28 +0800)
unref_and_replace_full() is defined in alloc-util.h.

src/libsystemd/sd-device/device-util.h

index ceb37496ddbdb4a807efa743a30339fce3c938cb..bf86ddcbe36c20f51df2fe84ffe51f1b6ccedd5e 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "sd-device.h"
 
+#include "alloc-util.h"
 #include "log.h"
 #include "macro.h"