From aff9ca62b7bb7fbcb0a86da780e61ca594de7dc1 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Sat, 31 Mar 2018 16:42:43 +0000 Subject: [PATCH] dnsdist: reorder headers to fix OpenBSD build --- pdns/dnsdist-lua.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.2