Fix building Probe(1) on NetBSD
This commit is contained in:
parent
8f0a2c09dd
commit
9d5294110f
|
@ -114,6 +114,7 @@ static int _sysinfo_generic(struct sysinfo * info)
|
||||||
# if defined(_sysinfo_uptime_sysctl) || defined(_sysinfo_loads_sysctl) \
|
# if defined(_sysinfo_uptime_sysctl) || defined(_sysinfo_loads_sysctl) \
|
||||||
|| defined(_sysinfo_ram_sysctl) || defined(_sysinfo_procs_sysctl)
|
|| defined(_sysinfo_ram_sysctl) || defined(_sysinfo_procs_sysctl)
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
|
# define _KMEMUSER /* XXX for NetBSD */
|
||||||
# include <sys/sysctl.h>
|
# include <sys/sysctl.h>
|
||||||
# endif
|
# endif
|
||||||
# if defined(_sysinfo_uptime_sysctl)
|
# if defined(_sysinfo_uptime_sysctl)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user