Skip to content

Commit

Permalink
Add missing preludes
Browse files Browse the repository at this point in the history
(backport <#4256>)
(cherry picked from commit b54607f)
  • Loading branch information
pheki authored and tgross35 committed Feb 22, 2025
1 parent e2f9290 commit 9385f3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sgx.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//! SGX C types definition
use crate::prelude::*;

pub type intmax_t = i64;
pub type uintmax_t = u64;

Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/gnu/b64/aarch64/ilp32.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::prelude::*;
use crate::pthread_mutex_t;

pub const __SIZEOF_PTHREAD_CONDATTR_T: usize = 4;
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/gnu/b64/aarch64/lp64.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::prelude::*;
use crate::pthread_mutex_t;

pub const __SIZEOF_PTHREAD_CONDATTR_T: usize = 8;
Expand Down

0 comments on commit 9385f3a

Please sign in to comment.