From: Remi Gacogne Date: Fri, 16 Feb 2024 09:32:37 +0000 (+0100) Subject: dnsdist: Move `linux/*.h` headers to xsk.cc to fix warnings X-Git-Tag: auth-5.0.0-alpha0~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3044aca1c21335d3d35d8e2d5cfa830efb04541;p=thirdparty%2Fpdns.git dnsdist: Move `linux/*.h` headers to xsk.cc to fix warnings --- diff --git a/pdns/xsk.cc b/pdns/xsk.cc index d0cb88513a..72f4791dd8 100644 --- a/pdns/xsk.cc +++ b/pdns/xsk.cc @@ -30,11 +30,14 @@ #include #include #include +#include #include #include #include #include #include +#include +#include #include #include #include diff --git a/pdns/xsk.hh b/pdns/xsk.hh index e181e63823..8d2b57d2d9 100644 --- a/pdns/xsk.hh +++ b/pdns/xsk.hh @@ -39,9 +39,6 @@ #include #include #include -#include -#include -#include #include @@ -185,8 +182,10 @@ public: } }; +struct ethhdr; struct iphdr; struct ipv6hdr; +struct udphdr; class XskPacket {