Skip to content

Commit

Permalink
Add kvm.h into freebsd header list
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 15, 2021
1 parent 0bea1ae commit e4c578a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,7 @@ fn test_freebsd(target: &str) {
"grp.h",
"iconv.h",
"ifaddrs.h",
"kvm.h",
"langinfo.h",
"libutil.h",
"limits.h",
Expand Down
4 changes: 0 additions & 4 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,15 @@ pub type pthread_spinlock_t = *mut __c_anonymous_pthread_spinlock;
pub type pthread_barrierattr_t = *mut __c_anonymous_pthread_barrierattr;
pub type pthread_barrier_t = *mut __c_anonymous_pthread_barrier;

<<<<<<< HEAD
pub type uuid_t = ::uuid;
=======
pub type u_int = ::c_uint;
pub type u_char = ::c_uchar;
pub type u_long = ::c_ulong;
pub type u_short = ::c_ushort;


// It's an alias over "struct __kvm_t". However, its fields aren't supposed to be used directly,
// making the type definition system dependent. Better not bind it exactly.
pub type kvm_t = ::c_void;
>>>>>>> 08bfa53ee (Add more freebsd items)

s! {
pub struct aiocb {
Expand Down

0 comments on commit e4c578a

Please sign in to comment.