summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-18 15:33:24 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-18 15:33:24 +0000
commitb8a68a2df03e0714aef8b29c57da1bdcbb3f97c6 (patch)
tree47f626fdc65f8b4c8b8008645cee8b500818ed5e /src
parentb5a506595b4d6293c71bc91b7b0eb3adc6b461f8 (diff)
downloadzabbix-b8a68a2df03e0714aef8b29c57da1bdcbb3f97c6.tar.gz
zabbix-b8a68a2df03e0714aef8b29c57da1bdcbb3f97c6.tar.xz
zabbix-b8a68a2df03e0714aef8b29c57da1bdcbb3f97c6.zip
MInor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2201 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src')
-rw-r--r--src/libs/zbxsysinfo/freebsd/proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/zbxsysinfo/freebsd/proc.c b/src/libs/zbxsysinfo/freebsd/proc.c
index d67f5849..05d2d726 100644
--- a/src/libs/zbxsysinfo/freebsd/proc.c
+++ b/src/libs/zbxsysinfo/freebsd/proc.c
@@ -58,9 +58,6 @@
#include <sys/statvfs.h>
#endif
-#ifdef HAVE_SYS_PROC_H
-# include <sys/proc.h>
-#endif
/* Solaris */
#ifdef HAVE_SYS_PROCFS_H
/* This is needed to access the correct procfs.h definitions */
@@ -123,6 +120,9 @@
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
+#ifdef HAVE_SYS_PROC_H
+ #include <sys/proc.h>
+#endif
#ifdef HAVE_MACH_HOST_INFO_H
#include <mach/host_info.h>