From: Daan De Meyer Date: Wed, 30 Apr 2025 20:39:07 +0000 (+0200) Subject: networkd-network-gperf.gperf: Add various missing includes X-Git-Tag: v258-rc1~701^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=256c4203f95bc7b9774f2e4751964ca06ca91337;p=thirdparty%2Fsystemd.git 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. --- 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"