summaryrefslogtreecommitdiffstats
path: root/src/zabbix_agent/sysinfo.c
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-09-27 07:01:56 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-09-27 07:01:56 +0000
commit893cde0d8c3b468c5e10d24f872c94a72e5d7000 (patch)
tree801a61511093fa7c0ac23211a12be4dd215834b4 /src/zabbix_agent/sysinfo.c
parent77cdaa8a96d2d408c85e709fa89171a5480dded1 (diff)
downloadzabbix-893cde0d8c3b468c5e10d24f872c94a72e5d7000.tar.gz
zabbix-893cde0d8c3b468c5e10d24f872c94a72e5d7000.tar.xz
zabbix-893cde0d8c3b468c5e10d24f872c94a72e5d7000.zip
No warnings for bcopy anymore under Solaris (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@221 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_agent/sysinfo.c')
-rw-r--r--src/zabbix_agent/sysinfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zabbix_agent/sysinfo.c b/src/zabbix_agent/sysinfo.c
index 9a31a51f..be77232f 100644
--- a/src/zabbix_agent/sysinfo.c
+++ b/src/zabbix_agent/sysinfo.c
@@ -1,5 +1,10 @@
#include "config.h"
+/* For bcopy */
+#ifdef HAVE_STRINGS_H
+ #include <strings.h>
+#endif
+
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif