summaryrefslogtreecommitdiffstats
path: root/src/zabbix_server/httppoller
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/zabbix_server/httppoller
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/zabbix_server/httppoller')
-rw-r--r--src/zabbix_server/httppoller/httpmacro.c3
-rw-r--r--src/zabbix_server/httppoller/httppoller.c20
-rw-r--r--src/zabbix_server/httppoller/httptest.c3
3 files changed, 3 insertions, 23 deletions
diff --git a/src/zabbix_server/httppoller/httpmacro.c b/src/zabbix_server/httppoller/httpmacro.c
index bf13876a..cf96b66c 100644
--- a/src/zabbix_server/httppoller/httpmacro.c
+++ b/src/zabbix_server/httppoller/httpmacro.c
@@ -17,7 +17,7 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
+#include "common.h"
#include "cfg.h"
#include "pid.h"
@@ -25,7 +25,6 @@
#include "log.h"
#include "zlog.h"
-#include "common.h"
#include "httpmacro.h"
/******************************************************************************
diff --git a/src/zabbix_server/httppoller/httppoller.c b/src/zabbix_server/httppoller/httppoller.c
index b7ff2ec2..baac238a 100644
--- a/src/zabbix_server/httppoller/httppoller.c
+++ b/src/zabbix_server/httppoller/httppoller.c
@@ -17,24 +17,7 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <sys/stat.h>
-
-#include <string.h>
-
-
-/* Required for getpwuid */
-#include <pwd.h>
-
-#include <signal.h>
-#include <errno.h>
-
-#include <time.h>
-/* getopt() */
-#include <unistd.h>
+#include "common.h"
#include "cfg.h"
#include "pid.h"
@@ -42,7 +25,6 @@
#include "log.h"
#include "zlog.h"
-#include "common.h"
#include "../functions.h"
#include "../expression.h"
#include "httptest.h"
diff --git a/src/zabbix_server/httppoller/httptest.c b/src/zabbix_server/httppoller/httptest.c
index 08b74032..fb9eff82 100644
--- a/src/zabbix_server/httppoller/httptest.c
+++ b/src/zabbix_server/httppoller/httptest.c
@@ -17,7 +17,7 @@
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
-#include "config.h"
+#include "common.h"
#include "cfg.h"
#include "pid.h"
@@ -25,7 +25,6 @@
#include "log.h"
#include "zlog.h"
-#include "common.h"
#include "../functions.h"
#include "httpmacro.h"
#include "httptest.h"