]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
os-util: add missing headers
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Mar 2023 22:51:09 +0000 (07:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Mar 2023 11:40:34 +0000 (20:40 +0900)
For 'bool' and 'usec_t'.

src/basic/os-util.h

index a6b121ec434c9bdf9c981028829f79f0b7f18914..3bafeaeb92d2031a9c2d599c5de48ecfeed0d308 100644 (file)
@@ -1,8 +1,11 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
+#include <stdbool.h>
 #include <stdio.h>
 
+#include "time-util.h"
+
 /* The *_extension_release flavours will look for /usr/lib/extension-release/extension-release.NAME
  * in accordance with the OS extension specification, rather than for /usr/lib/ or /etc/os-release. */