Skip to content

Commit 60458e9

Browse files
lucasl0stjevolk
authored andcommitted
fix: gcc15 build support
stolen from rust-rocksdb/rust-rocksdb@7d38892
1 parent 76b72ce commit 60458e9

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
@@ -347,6 +347,7 @@ fn build_rocksdb() {
347347
} else if !target.contains("windows") {
348348
config.cpp_link_stdlib("c++");
349349
}
350+
config.flag("-include").flag("cstdint");
350351
config.compile("librocksdb.a");
351352
}
352353

0 commit comments

Comments
 (0)