Skip to content

Commit 26f7be2

Browse files
Add kvm.h into freebsd header list
1 parent 078c85c commit 26f7be2

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
@@ -1774,6 +1774,7 @@ fn test_freebsd(target: &str) {
17741774
"grp.h",
17751775
"iconv.h",
17761776
"ifaddrs.h",
1777+
"kvm.h",
17771778
"langinfo.h",
17781779
"libutil.h",
17791780
"limits.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)