Skip to content

Commit d02cbd2

Browse files
Add kvm.h into freebsd header list
1 parent 9ab890d commit d02cbd2

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

libc-test/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,6 +1837,7 @@ fn test_freebsd(target: &str) {
18371837
"sys/times.h",
18381838
"sys/timex.h",
18391839
"sys/types.h",
1840+
"kvm.h", // must be after "sys/types.h"
18401841
"sys/ucontext.h",
18411842
"sys/uio.h",
18421843
"sys/ktrace.h",

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,15 @@ pub type pthread_spinlock_t = *mut __c_anonymous_pthread_spinlock;
3131
pub type pthread_barrierattr_t = *mut __c_anonymous_pthread_barrierattr;
3232
pub type pthread_barrier_t = *mut __c_anonymous_pthread_barrier;
3333

34-
<<<<<<< HEAD
3534
pub type uuid_t = ::uuid;
36-
=======
3735
pub type u_int = ::c_uint;
3836
pub type u_char = ::c_uchar;
3937
pub type u_long = ::c_ulong;
4038
pub type u_short = ::c_ushort;
4139

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

4844
s! {
4945
pub struct aiocb {

0 commit comments

Comments
 (0)