google / bloaty

Bloaty: a size profiler for binaries
Apache License 2.0
4.66k stars 337 forks source link

Add missing #include needed on GCC13 #332

Closed musicinmybrain closed 1 year ago

musicinmybrain commented 1 year ago

Fixes (with GCC 13.0.1):

/builddir/build/BUILD/bloaty-1.1/tests/fuzz_driver.cc:20:45: error: 'uint8_t' does not name a type
   20 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
      |                                             ^~~~~~~
/builddir/build/BUILD/bloaty-1.1/tests/fuzz_driver.cc:19:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   18 | #include <vector>
  +++ |+#include <cstdint>
   19 |