auxstats: fix OpenBSD by using getifaddrs(3) instead of kvm(3)
Change-Id: I6a096ba24809a402911c30406d384d16c03fc96c Reviewed-on: https://plan9port-review.googlesource.com/1410 Reviewed-by: Russ Cox <rsc@swtch.com>
This commit is contained in:
parent
6a93bd5c92
commit
009b0cb5eb
2 changed files with 26 additions and 77 deletions
|
|
@ -12,6 +12,6 @@ HFILES=\
|
|||
|
||||
<$PLAN9/src/mkone
|
||||
|
||||
KVM=`{if uname |egrep 'BSD' >/dev/null; then echo -lkvm; fi}
|
||||
KVM=`{if uname |egrep 'BSD' | egrep -v 'OpenBSD' >/dev/null; then echo -lkvm; fi}
|
||||
LDFLAGS=$LDFLAGS $KVM
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue