From 2a0d07d6a0d5be63c6c10cb0789412f584858ec1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 26 Jul 2021 10:58:46 -0700 Subject: [PATCH] networkd: Include linux/netdevice.h header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This header provides definitions for NET_NAME_UNKNOWN ånd NET_NAME_ENUM Fixes build issue found with non-glibc systems ../git/src/network/networkd-link.c:1203:52: error: 'NET_NAME_UNKNOWN' undeclared (first use in this function) Signed-off-by: Khem Raj --- src/network/networkd-link.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index a6f8174b80f..97a4cafad41 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include