diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-05-26 08:08:39 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-05-26 08:08:39 +0000 |
commit | 12de25d17edad5a300c10662147550abe616448f (patch) | |
tree | 77136ed1f9f2a88d31489925f26f210b8f863321 | |
parent | c1e75e77161aceaa4406e99b803f039114a8184f (diff) | |
download | nss-hg-12de25d17edad5a300c10662147550abe616448f.tar.gz |
Bug 1771273 - cpputil/databuffer.h: add missing <cstdint> include r=nss-reviewers,mt
Without the change build fails on this week's gcc-13 snapshot as:
../../cpputil/databuffer.h:20:20: error: 'uint8_t' does not name a type
20 | DataBuffer(const uint8_t* d, size_t l) : data_(nullptr), len_(0) {
| ^~~~~~~
../../cpputil/databuffer.h:14:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
13 | #include <iostream>
+++ |+#include <cstdint>
14 |
Differential Revision: https://phabricator.services.mozilla.com/D147404
-rw-r--r-- | cpputil/databuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpputil/databuffer.h b/cpputil/databuffer.h index d7c80b4bb..99c653754 100644 --- a/cpputil/databuffer.h +++ b/cpputil/databuffer.h @@ -11,6 +11,7 @@ #include <cstring> #include <iomanip> #include <iostream> +#include <cstdint> namespace nss_test { |