]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix(dnsdist): Fix builds on aarch64 16367/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 23 Oct 2025 15:28:41 +0000 (17:28 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 23 Oct 2025 15:28:41 +0000 (17:28 +0200)
pdns/dnsdistdist/dnsdist-ipcrypt2.hh

index 9222f370da93ef797dee3da7ca7730260f125e5a..9f15f328ce856cc7098511f8a9e3b9d46db4bfd9 100644 (file)
@@ -26,7 +26,9 @@
 #include <string>
 
 #include "iputils.hh"
+#ifdef HAVE_IPCRYPT2
 #include "ipcrypt2.h"
+#endif
 
 namespace pdns::ipcrypt2
 {
@@ -55,7 +57,9 @@ public:
   [[nodiscard]] ComboAddress encrypt(const ComboAddress& address) const;
 
 private:
+#ifdef HAVE_IPCRYPT2
   std::unique_ptr<struct IPCryptPFX> d_ipcryptCtxPfx;
+#endif
   IPCryptMethod d_method;
 };
 }