pdewacht / brlaser

Brother laser printer driver
GNU General Public License v2.0
602 stars 114 forks source link

fix build under Fedora 38 #175

Closed ondrejbudai closed 1 year ago

ondrejbudai commented 1 year ago

Building brlaser under Fedora 38 gives the following error in test/tempfile.h: error: 'uint8_t' was not declared in this scope

This commit fixes it by explicitly including cstdin in the file, so uint8_t is correctly defined there.

pdewacht commented 1 year ago

Thanks. I think <cstdint> is technically only required to provide std::uint8_t, but the code uses uint8_t. So I added an include for <stdint.h> instead.