From: Yu Watanabe Date: Tue, 18 Sep 2018 04:37:51 +0000 (+0900) Subject: sd-hwdb: adjust included headers X-Git-Tag: v240~707^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73c63957d2319f765e02ed7fe35453e94c3777ac;p=thirdparty%2Fsystemd.git sd-hwdb: adjust included headers --- diff --git a/src/libsystemd/sd-hwdb/hwdb-internal.h b/src/libsystemd/sd-hwdb/hwdb-internal.h index d186c851844..d82b8c1279c 100644 --- a/src/libsystemd/sd-hwdb/hwdb-internal.h +++ b/src/libsystemd/sd-hwdb/hwdb-internal.h @@ -1,8 +1,9 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once +#include + #include "sparse-endian.h" -#include "util.h" #define HWDB_SIG { 'K', 'S', 'L', 'P', 'H', 'H', 'R', 'H' } diff --git a/src/libsystemd/sd-hwdb/hwdb-util.h b/src/libsystemd/sd-hwdb/hwdb-util.h index 43ddccdbe90..340a68174bc 100644 --- a/src/libsystemd/sd-hwdb/hwdb-util.h +++ b/src/libsystemd/sd-hwdb/hwdb-util.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -#include "sd-hwdb.h" +#include -#include "util.h" +#include "sd-hwdb.h" bool hwdb_validate(sd_hwdb *hwdb); diff --git a/src/libsystemd/sd-hwdb/sd-hwdb.c b/src/libsystemd/sd-hwdb/sd-hwdb.c index 371dac53088..2bbbbd03e22 100644 --- a/src/libsystemd/sd-hwdb/sd-hwdb.c +++ b/src/libsystemd/sd-hwdb/sd-hwdb.c @@ -20,6 +20,7 @@ #include "hwdb-util.h" #include "refcnt.h" #include "string-util.h" +#include "util.h" struct sd_hwdb { RefCount n_ref;