donovan6000 / M33-Linux

A Linux program that can communicate with the Micro 3D printer
GNU General Public License v3.0
30 stars 7 forks source link

gcode.h: add missing `<cstdint>` include #6

Open trofi opened 9 months ago

trofi commented 9 months ago

Without the change build fails on gcc-13 as:

gcode.h:54:24: error: 'uint8_t' was not declared in this scope
   54 |                 vector<uint8_t> getBinary() const;
      |                        ^~~~~~~
gcode.h:9:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    8 | #include <vector>
  +++ |+#include <cstdint>
    9 |