bolts: fix openbsd build (#2467)

Co-authored-by: dcarlier <dcarlier@openbsdvbox.chello.ie>
This commit is contained in:
David CARLIER 2024-08-01 07:14:09 +01:00 committed by GitHub
parent 7ee5962288
commit 291fdeb85e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
//! Implements a mini-bsod generator.
//! It dumps all important registers and prints a stacktrace.
#[cfg(target_vendor = "apple")]
#[cfg(any(target_vendor = "apple", target_os = "openbsd"))]
use core::mem::size_of;
use std::io::{BufWriter, Write};
#[cfg(any(target_os = "solaris", target_os = "illumos"))]