Skip to content

Commit

Permalink
Include <stdint.h> in base.h
Browse files Browse the repository at this point in the history
This is needed for `uint32_t`, used in several headers.

Use `<stdint.h>` not `<cstdint>` because the code uses `uint32_t` not `std::uint32_t`.
  • Loading branch information
jwakely authored and viewizard committed Jan 8, 2025
1 parent 3dc846c commit ddc7de6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <locale>
#include <iostream>
#include <functional>
#include <stdint.h>

// don't setup NDEBUG in sources, use definition in build system instead
#include <cassert>
Expand Down

0 comments on commit ddc7de6

Please sign in to comment.