osx: bmon v3.2 compiles and links
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
committed by
Thomas Graf
parent
be69e1c337
commit
c62eb9de44
@ -31,6 +31,8 @@
|
||||
#include <bmon/input.h>
|
||||
#include <bmon/utils.h>
|
||||
|
||||
#ifndef SYS_BSD
|
||||
|
||||
static int c_notc = 0;
|
||||
static struct element_group *grp;
|
||||
static struct bmon_module netlink_ops;
|
||||
@ -866,3 +868,4 @@ static void __init netlink_init(void)
|
||||
{
|
||||
input_register(&netlink_ops);
|
||||
}
|
||||
#endif
|
||||
|
@ -44,8 +44,10 @@ static void activate_default(void)
|
||||
if (!input_subsys.s_nmod) {
|
||||
struct bmon_module *m;
|
||||
|
||||
#ifdef SYS_LINUX
|
||||
if (!input_set("netlink"))
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (!input_set("proc"))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user