From cd7d732dc54ed3bcd2dd22273473bc410f501226 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Fri, 4 Oct 2024 12:56:34 +0200 Subject: path-lookup: move NETWORK_DIRS to network-util.h --- src/libsystemd/sd-network/network-util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libsystemd/sd-network') diff --git a/src/libsystemd/sd-network/network-util.h b/src/libsystemd/sd-network/network-util.h index 6fc6015902..14c6f6819d 100644 --- a/src/libsystemd/sd-network/network-util.h +++ b/src/libsystemd/sd-network/network-util.h @@ -4,8 +4,12 @@ #include #include +#include "constants.h" #include "macro.h" +#define NETWORK_DIRS ((const char* const*) CONF_PATHS_STRV("systemd/network")) +#define NETWORK_DIRS_NULSTR CONF_PATHS_NULSTR("systemd/network") + bool network_is_online(void); typedef enum AddressFamily { -- cgit v1.2.3