]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix "C++ One Definition Rule" warnings in XSK 14037/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 5 Apr 2024 08:20:49 +0000 (10:20 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 5 Apr 2024 08:20:49 +0000 (10:20 +0200)
commit679360ad842c60e38f4009cecac6e1422c747889
tree323f56cf913188619c5cb6b3dbad07b66c0ff0f9
parent4d58c429c49f04211e11f1690cadc1636818daeb
dnsdist: Fix "C++ One Definition Rule" warnings in XSK

It turns out we need to include the linux specific headers AFTER the
regular ones, because it then detects that some types have already been
defined (`sockaddr_in6` for example) and does not attempt to re-define
them, which otherwise breaks the C++ One Definition Rule
pdns/xsk.cc