]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist-protocols.hh: include <cstdint> 12569/head
authorSander Hoentjen <shoentjen@antagonist.nl>
Mon, 20 Feb 2023 15:51:07 +0000 (16:51 +0100)
committerSander Hoentjen <shoentjen@antagonist.nl>
Mon, 20 Feb 2023 15:51:07 +0000 (16:51 +0100)
commitf407319cb7374baf06698786f4f39d431a36a3cc
tree2c872c5de72beaa03d23bd1fd95f7bfad577a0f9
parentebcf74c303a716ad2e3eb5c2463bb646606caf9b
dnsdist-protocols.hh: include <cstdint>

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 '<cstdint>'; did you forget to '#include <cstdint>'?
   24 | #include <vector>
  +++ |+#include <cstdint>
   25 | #include <string>
```
pdns/dnsdist-protocols.hh