diff options
| author | Joel Klinghed <the_jk@opera.com> | 2023-07-18 14:10:13 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@opera.com> | 2023-07-18 14:10:13 +0200 |
| commit | 467db2e9086bdffb9adfcb2143684471c061f206 (patch) | |
| tree | d62400867b91f7b6dcc8fbd6291c1acbf1c7ffeb | |
| parent | 4c37e28978eda34ff625c0f830d603107a50bc3d (diff) | |
Add missing includes for cstdint
Worked with older STL because the types leaked.
| -rw-r--r-- | src/config.cc | 1 | ||||
| -rw-r--r-- | src/gui_attrtext.hh | 1 | ||||
| -rw-r--r-- | src/gui_hexdump.hh | 1 | ||||
| -rw-r--r-- | src/utf.hh | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/config.cc b/src/config.cc index 90ef95d..41f3bb0 100644 --- a/src/config.cc +++ b/src/config.cc @@ -7,6 +7,7 @@ #include "strings.hh" #include "xdg.hh" +#include <cstdint> #include <cstring> #include <fstream> #include <sstream> diff --git a/src/gui_attrtext.hh b/src/gui_attrtext.hh index 06fb753..ee7cc34 100644 --- a/src/gui_attrtext.hh +++ b/src/gui_attrtext.hh @@ -3,6 +3,7 @@ #ifndef GUI_ATTRTEXT_HH #define GUI_ATTRTEXT_HH +#include <cstdint> #include <string> class AttributedText { diff --git a/src/gui_hexdump.hh b/src/gui_hexdump.hh index f21479e..6277850 100644 --- a/src/gui_hexdump.hh +++ b/src/gui_hexdump.hh @@ -3,6 +3,7 @@ #ifndef GUI_HEXDUMP_HH #define GUI_HEXDUMP_HH +#include <cstdint> #include <string> class AttributedText; @@ -3,6 +3,7 @@ #ifndef UTF_HH #define UTF_HH +#include <cstdint> #include <string> char* read_utf8(char const* in, size_t max, uint32_t* out); |
