mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 02:49:00 +00:00
libtests: include cstdint for GCC 15
GCC 15 starts to no longer include this by default, requiring it to be explicitly included. Error message: libtests/cxx11.cc:75:16: error: ‘uint8_t’ was not declared in this scope 75 | check_size<uint8_t>(1, false); | ^~~~~~~ libtests/cxx11.cc:10:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 9 | #include <regex> +++ |+#include <cstdint> 10 | #include <type_traits> Signed-off-by: Christopher Fore <csfore@posteo.net>
This commit is contained in:
parent
2856b288e4
commit
6918f0b7eb
@ -1,5 +1,6 @@
|
||||
#include <qpdf/assert_test.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <functional>
|
||||
|
Loading…
Reference in New Issue
Block a user