Skip to content

Commit 901bb48

Browse files
Add kvm.h into freebsd header list
1 parent 96c3511 commit 901bb48

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

libc-test/build.rs

+1
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

-4
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,15 @@ pub type pthread_spinlock_t = *mut __c_anonymous_pthread_spinlock;
3333
pub type pthread_barrierattr_t = *mut __c_anonymous_pthread_barrierattr;
3434
pub type pthread_barrier_t = *mut __c_anonymous_pthread_barrier;
3535

36-
<<<<<<< HEAD
3736
pub type uuid_t = ::uuid;
38-
=======
3937
pub type u_int = ::c_uint;
4038
pub type u_char = ::c_uchar;
4139
pub type u_long = ::c_ulong;
4240
pub type u_short = ::c_ushort;
4341

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

5046
s! {
5147
pub struct aiocb {

0 commit comments

Comments
 (0)