From: Sander Hoentjen Date: Mon, 20 Feb 2023 15:51:07 +0000 (+0100) Subject: dnsdist-protocols.hh: include X-Git-Tag: dnsdist-1.8.0-rc1~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f407319cb7374baf06698786f4f39d431a36a3cc;p=thirdparty%2Fpdns.git dnsdist-protocols.hh: include This fixes building dnsdist with gcc13: ``` In file included from dnsdist-protocols.cc:26: dnsdist-protocols.hh:32:8: error: use of enum 'typeenum' without previous declaration 32 | enum typeenum : uint8_t | ^~~~~~~~ dnsdist-protocols.hh:32:19: error: 'uint8_t' was not declared in this scope 32 | enum typeenum : uint8_t | ^~~~~~~ dnsdist-protocols.hh:25:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 24 | #include +++ |+#include 25 | #include ``` --- diff --git a/pdns/dnsdist-protocols.hh b/pdns/dnsdist-protocols.hh index c5c5743908..bd2a4bb8ad 100644 --- a/pdns/dnsdist-protocols.hh +++ b/pdns/dnsdist-protocols.hh @@ -22,6 +22,7 @@ #pragma once #include +#include #include namespace dnsdist