Skip to content

Commit 710f8e6

Browse files
nehebkmilos
authored andcommitted
fix compilation with C++23
Missing header. Signed-off-by: Rosen Penev <[email protected]>
1 parent 8545614 commit 710f8e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/pgfimage.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
#include <iostream>
1414

15+
#ifdef __cpp_lib_endian
16+
#include <bit>
17+
#endif
18+
1519
// Signature from front of PGF file
1620
const unsigned char pgfSignature[3] = {0x50, 0x47, 0x46};
1721

0 commit comments

Comments
 (0)