From 256c4203f95bc7b9774f2e4751964ca06ca91337 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 30 Apr 2025 22:39:07 +0200 Subject: [PATCH] networkd-network-gperf.gperf: Add various missing includes We currently include these transitively but to allow using IWYU to remove headers later, let's add these as direct includes so the IWYU changes don't break compilation. --- src/network/networkd-network-gperf.gperf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf index 2b61f3b7440..aa99829638c 100644 --- a/src/network/networkd-network-gperf.gperf +++ b/src/network/networkd-network-gperf.gperf @@ -4,12 +4,14 @@ _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") #if __GNUC__ >= 15 _Pragma("GCC diagnostic ignored \"-Wzero-as-null-pointer-constant\"") #endif +#include #include #include #include "conf-parser.h" #include "in-addr-prefix-util.h" #include "net-condition.h" +#include "netif-sriov.h" #include "networkd-address-generation.h" #include "networkd-address-label.h" #include "networkd-address.h" @@ -38,6 +40,7 @@ _Pragma("GCC diagnostic ignored \"-Wzero-as-null-pointer-constant\"") #include "networkd-routing-policy-rule.h" #include "networkd-sriov.h" #include "qdisc.h" +#include "socket-util.h" #include "tclass.h" #include "vlan-util.h" -- 2.47.3