Skip to content

Commit

Permalink
Character, utility: add <cstdint>
Browse files Browse the repository at this point in the history
`uint8_t`, `uint32_t` are used without including `<cstdint>`
which fails to build w/ GCC 15 after a change in libstdc++ [0]

[0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2
  • Loading branch information
thesamesam committed Aug 15, 2024
1 parent 12b6263 commit 2cd3314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Character.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifndef CHARACTER_HPP
#define CHARACTER_HPP

#include <cstdint>

class Character {
public:
Expand Down
1 change: 1 addition & 0 deletions src/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <config.h>
#endif

#include <cstdint>
#include <iomanip>
#include <functional>
#include <memory>
Expand Down

0 comments on commit 2cd3314

Please sign in to comment.