From: Peter van Dijk Date: Sat, 31 Mar 2018 16:42:43 +0000 (+0000) Subject: dnsdist: reorder headers to fix OpenBSD build X-Git-Tag: dnsdist-1.3.1~182^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6429%2Fhead;p=thirdparty%2Fpdns.git dnsdist: reorder headers to fix OpenBSD build --- diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index 8bfbaa1caf..1b1df5ab5c 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -22,9 +22,12 @@ #include #include + +// for OpenBSD, sys/socket.h needs to come before net/if.h +#include #include + #include -#include #include #include