myriadrf / LimeSuite

Driver and GUI for LMS7002M-based SDR platforms
https://myriadrf.org/projects/lime-suite/
Apache License 2.0
465 stars 182 forks source link

lms7002m_mcu: fix `gcc-13` build (missing <stdint.h>) #384

Closed trofi closed 10 months ago

trofi commented 10 months ago

Without the change build on gcc-13 fails as:

/build/source/src/lms7002m_mcu/MCU_File.cpp:340:21: error: 'uint8_t' was not declared in this scope
  340 |                     uint8_t i = 0;
      |                     ^~~~~~~
/build/source/src/lms7002m_mcu/MCU_File.cpp:4:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    3 | #include <iostream>
  +++ |+#include <cstdint>