summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/openbsd
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-13 09:26:39 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-13 09:26:39 +0000
commite2b4335e7a146e768ff402a61ffb4092e834b818 (patch)
tree4b322ac29bbfa0d2dfb56aa7d5d05ce5dff4b68a /src/libs/zbxsysinfo/openbsd
parent883163bc42892ffe0885e94b701ef9da4da3cf70 (diff)
downloadzabbix-e2b4335e7a146e768ff402a61ffb4092e834b818.tar.gz
zabbix-e2b4335e7a146e768ff402a61ffb4092e834b818.tar.xz
zabbix-e2b4335e7a146e768ff402a61ffb4092e834b818.zip
- fixed net-snmp compilation (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3887 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/openbsd')
-rw-r--r--src/libs/zbxsysinfo/openbsd/cpu.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/diskio.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/diskspace.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/inodes.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/kernel.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/memory.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/net.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/proc.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/sensors.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/swap.c3
-rw-r--r--src/libs/zbxsysinfo/openbsd/uptime.c3
11 files changed, 11 insertions, 22 deletions
diff --git a/src/libs/zbxsysinfo/openbsd/cpu.c b/src/libs/zbxsysinfo/openbsd/cpu.c
index e7da71f3..5ee58da8 100644
--- a/src/libs/zbxsysinfo/openbsd/cpu.c
+++ b/src/libs/zbxsysinfo/openbsd/cpu.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
static int get_cpu_data(unsigned long long *idle,
diff --git a/src/libs/zbxsysinfo/openbsd/diskio.c b/src/libs/zbxsysinfo/openbsd/diskio.c
index ffa5b722..7a22f6d2 100644
--- a/src/libs/zbxsysinfo/openbsd/diskio.c
+++ b/src/libs/zbxsysinfo/openbsd/diskio.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
/*
diff --git a/src/libs/zbxsysinfo/openbsd/diskspace.c b/src/libs/zbxsysinfo/openbsd/diskspace.c
index f37aeb7c..be01023b 100644
--- a/src/libs/zbxsysinfo/openbsd/diskspace.c
+++ b/src/libs/zbxsysinfo/openbsd/diskspace.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
int get_fs_size_stat(char *fs, double *total, double *free, double *usage)
diff --git a/src/libs/zbxsysinfo/openbsd/inodes.c b/src/libs/zbxsysinfo/openbsd/inodes.c
index fbc50fc1..f2a9993e 100644
--- a/src/libs/zbxsysinfo/openbsd/inodes.c
+++ b/src/libs/zbxsysinfo/openbsd/inodes.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
#include "md5.h"
diff --git a/src/libs/zbxsysinfo/openbsd/kernel.c b/src/libs/zbxsysinfo/openbsd/kernel.c
index 630c025f..9b40434a 100644
--- a/src/libs/zbxsysinfo/openbsd/kernel.c
+++ b/src/libs/zbxsysinfo/openbsd/kernel.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
int KERNEL_MAXFILES(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result)
diff --git a/src/libs/zbxsysinfo/openbsd/memory.c b/src/libs/zbxsysinfo/openbsd/memory.c
index d710b029..4844dd44 100644
--- a/src/libs/zbxsysinfo/openbsd/memory.c
+++ b/src/libs/zbxsysinfo/openbsd/memory.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
static int VM_MEMORY_TOTAL(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result)
diff --git a/src/libs/zbxsysinfo/openbsd/net.c b/src/libs/zbxsysinfo/openbsd/net.c
index 200c3935..29608831 100644
--- a/src/libs/zbxsysinfo/openbsd/net.c
+++ b/src/libs/zbxsysinfo/openbsd/net.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
static struct nlist kernel_symbols[] =
diff --git a/src/libs/zbxsysinfo/openbsd/proc.c b/src/libs/zbxsysinfo/openbsd/proc.c
index 331f9fd0..794ac6d1 100644
--- a/src/libs/zbxsysinfo/openbsd/proc.c
+++ b/src/libs/zbxsysinfo/openbsd/proc.c
@@ -17,9 +17,8 @@
* ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* **/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
#define DO_SUM 0
diff --git a/src/libs/zbxsysinfo/openbsd/sensors.c b/src/libs/zbxsysinfo/openbsd/sensors.c
index 8597ca21..d0f26aff 100644
--- a/src/libs/zbxsysinfo/openbsd/sensors.c
+++ b/src/libs/zbxsysinfo/openbsd/sensors.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
#include "md5.h"
diff --git a/src/libs/zbxsysinfo/openbsd/swap.c b/src/libs/zbxsysinfo/openbsd/swap.c
index 8951aa97..37c88b95 100644
--- a/src/libs/zbxsysinfo/openbsd/swap.c
+++ b/src/libs/zbxsysinfo/openbsd/swap.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
#include "md5.h"
diff --git a/src/libs/zbxsysinfo/openbsd/uptime.c b/src/libs/zbxsysinfo/openbsd/uptime.c
index c0491e9e..37596c2d 100644
--- a/src/libs/zbxsysinfo/openbsd/uptime.c
+++ b/src/libs/zbxsysinfo/openbsd/uptime.c
@@ -17,9 +17,8 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
#include "common.h"
+
#include "sysinfo.h"
int SYSTEM_UPTIME(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result)