refresh-bio / Whisper

GNU General Public License v3.0
24 stars 4 forks source link

src/common/defs.h: add missing `<cstdint>` include (`gcc-13` fix) #17

Open trofi opened 10 months ago

trofi commented 10 months ago

Without the change build fails on gcc-13 as:

mapper/../common/defs.h:53:9: error: 'uint32_t' does not name a type
   53 | typedef uint32_t ref_pos_t;
      |         ^~~~~~~~
mapper/../common/defs.h:35:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   34 | #include <string>
  +++ |+#include <cstdint>