Skip to content

Commit 08ece78

Browse files
committed
include/woff2/output.h: add missing <stdint.h> include
Without the change `woff2` build fails on upcoming `gcc-15` as: In file included from src/woff2_out.cc:9: include/woff2/output.h:73:25: error: expected ')' before '*' token 73 | WOFF2MemoryOut(uint8_t* buf, size_t buf_size); | ~ ^ | ) include/woff2/output.h:79:3: error: 'uint8_t' does not name a type 79 | uint8_t* buf_; | ^~~~~~~ include/woff2/output.h:16:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' 15 | #include <string> +++ |+#include <cstdint> 16 |
1 parent 0f4d304 commit 08ece78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/woff2/output.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#ifndef WOFF2_WOFF2_OUT_H_
1010
#define WOFF2_WOFF2_OUT_H_
1111

12+
#include <stdint.h>
13+
1214
#include <algorithm>
1315
#include <cstring>
1416
#include <memory>

0 commit comments

Comments
 (0)