diff options
author | Thomas W Rodgers <rodgert@twrodgers.com> | 2023-02-18 10:26:01 -0800 |
---|---|---|
committer | Thomas W Rodgers <rodgert@twrodgers.com> | 2023-02-18 10:26:01 -0800 |
commit | 825d646196584a99818a408ad6155166a50c4c30 (patch) | |
tree | 8ffb5bc1c5db6b9e6abfbd4eb6e95b22a4b38f90 | |
parent | 16bcc51ffb8b3e4e8b7e81841a279d1d709f5479 (diff) | |
download | nextpnr-825d646196584a99818a408ad6155166a50c4c30.tar.gz nextpnr-825d646196584a99818a408ad6155166a50c4c30.tar.bz2 nextpnr-825d646196584a99818a408ad6155166a50c4c30.zip |
Include <cstdint> in common/kernel/hashlib.h
The definitions for uint32_t, uint64_t report as undefined when
compiling under GCC13. They were previously found by transitive
includes, but this is not guaranteed to work, and GCC13 forced
the issue.
-rw-r--r-- | common/kernel/hashlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/kernel/hashlib.h b/common/kernel/hashlib.h index 2f7357e2..a3fcd4ca 100644 --- a/common/kernel/hashlib.h +++ b/common/kernel/hashlib.h @@ -14,6 +14,7 @@ #include <algorithm> #include <array> +#include <cstdint> #include <stdexcept> #include <string> #include <vector> |