diff options
author | joerg <joerg@pkgsrc.org> | 2013-03-23 12:23:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-03-23 12:23:24 +0000 |
commit | 08e1cde2a4b9c4f522d37127174ccb74ebdaeb26 (patch) | |
tree | 969b5b0d62fbd68debd08a029035b35cd2602293 /net/net-snmp/patches | |
parent | 12b23ab3ef05daddc3b07cc44167762c091fc0d3 (diff) | |
download | pkgsrc-08e1cde2a4b9c4f522d37127174ccb74ebdaeb26.tar.gz |
Include uvm/uvm_extern.h if it exists. Required for NetBSD/current.
Diffstat (limited to 'net/net-snmp/patches')
-rw-r--r-- | net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c b/net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c new file mode 100644 index 00000000000..28cfcdf9fd9 --- /dev/null +++ b/net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c @@ -0,0 +1,14 @@ +$NetBSD: patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c,v 1.1 2013/03/23 12:23:25 joerg Exp $ + +--- agent/mibgroup/hardware/cpu/cpu_sysctl.c.orig 2013-03-23 10:53:47.000000000 +0000 ++++ agent/mibgroup/hardware/cpu/cpu_sysctl.c +@@ -24,6 +24,9 @@ + #include <sys/param.h> + #include <sys/sysctl.h> + #include <sys/vmmeter.h> ++#ifdef HAVE_UVM_UVM_EXTERN_H ++#include <uvm/uvm_extern.h> ++#endif + #ifdef HAVE_VM_VM_PARAM_H + #include <vm/vm_param.h> + #endif |