sd-device: header needs an include because it uses sd_device type

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-04-01 11:30:25 +02:00
parent 4cf1b41568
commit 023e75df4c
+2
View File
@@ -1,6 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include "sd-device.h"
#define FOREACH_DEVICE_PROPERTY(device, key, value) \
for (key = sd_device_get_property_first(device, &(value)); \
key; \