- (disk.c, errormib.c, extensible.c, loadave.c, memory.c):
- linux 2.1 kernel needs asm/page.h (all includes need to be re-written).
git-svn-id: file:///home/hardaker/lib/sf-bkups/net-snmp-convert-svnrepo/trunk@2183 06827809-a52a-0410-b366-d66718629ded
diff --git a/agent/mibgroup/ucd-snmp/disk.c b/agent/mibgroup/ucd-snmp/disk.c
index d15b711..afae62e 100644
--- a/agent/mibgroup/ucd-snmp/disk.c
+++ b/agent/mibgroup/ucd-snmp/disk.c
@@ -26,6 +26,9 @@
#if HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
+#if HAVE_ASM_PAGE_H
+#include <asm/page.h>
+#endif
#if HAVE_SYS_SWAP_H
#include <sys/swap.h>
#endif
diff --git a/agent/mibgroup/ucd-snmp/errormib.c b/agent/mibgroup/ucd-snmp/errormib.c
index 56b8bd7..ddf4159 100644
--- a/agent/mibgroup/ucd-snmp/errormib.c
+++ b/agent/mibgroup/ucd-snmp/errormib.c
@@ -34,6 +34,9 @@
#if HAVE_SYS_CONF_H
#include <sys/conf.h>
#endif
+#if HAVE_ASM_PAGE_H
+#include <asm/page.h>
+#endif
#if HAVE_SYS_SWAP_H
#include <sys/swap.h>
#endif
diff --git a/agent/mibgroup/ucd-snmp/extensible.c b/agent/mibgroup/ucd-snmp/extensible.c
index 0f889b5..aa1edf5 100644
--- a/agent/mibgroup/ucd-snmp/extensible.c
+++ b/agent/mibgroup/ucd-snmp/extensible.c
@@ -34,6 +34,9 @@
#if HAVE_SYS_CONF_H
#include <sys/conf.h>
#endif
+#if HAVE_ASM_PAGE_H
+#include <asm/page.h>
+#endif
#if HAVE_SYS_SWAP_H
#include <sys/swap.h>
#endif
diff --git a/agent/mibgroup/ucd-snmp/loadave.c b/agent/mibgroup/ucd-snmp/loadave.c
index f8cc0ed..d15d198 100644
--- a/agent/mibgroup/ucd-snmp/loadave.c
+++ b/agent/mibgroup/ucd-snmp/loadave.c
@@ -24,6 +24,9 @@
#if HAVE_SYS_CONF_H
#include <sys/conf.h>
#endif
+#if HAVE_ASM_PAGE_H
+#include <asm/page.h>
+#endif
#if HAVE_SYS_SWAP_H
#include <sys/swap.h>
#endif
diff --git a/agent/mibgroup/ucd-snmp/memory.c b/agent/mibgroup/ucd-snmp/memory.c
index 00c5678..8facbb3 100644
--- a/agent/mibgroup/ucd-snmp/memory.c
+++ b/agent/mibgroup/ucd-snmp/memory.c
@@ -22,6 +22,9 @@
#if HAVE_SYS_CONF_H
#include <sys/conf.h>
#endif
+#if HAVE_ASM_PAGE_H
+#include <asm/page.h>
+#endif
#if HAVE_SYS_SWAP_H
#include <sys/swap.h>
#endif