Skip to content

Commit f6692aa

Browse files
lucasl0stzaidoon1
authored andcommitted
fix: gcc15 build support
stolen from rust-rocksdb/rust-rocksdb@7d38892
1 parent f798f33 commit f6692aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

librocksdb-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ fn build_rocksdb() {
337337
} else if !target.contains("windows") {
338338
config.cpp_link_stdlib("c++");
339339
}
340+
config.flag("-include").flag("cstdint");
340341
config.compile("librocksdb.a");
341342
}
342343

0 commit comments

Comments
 (0)