aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/snmp/agent.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/res/snmp/agent.c b/res/snmp/agent.c
index cb089c007..a7ef950c7 100644
--- a/res/snmp/agent.c
+++ b/res/snmp/agent.c
@@ -14,24 +14,14 @@
* \author Thorsten Lockert <tholo@voop.as>
*/
-#include <net-snmp/net-snmp-config.h>
-#include <net-snmp/net-snmp-includes.h>
-#include <net-snmp/agent/net-snmp-agent-includes.h>
-
-/*
- * These conflict with ones in Asterisk header files, so
- * get rid of them. They'll be back after the next few
- * includes...
- */
-#undef HAVE_GETLOADAVG
-#undef HAVE_STRCASESTR
-
-#include <pthread.h>
-
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+#include <net-snmp/net-snmp-config.h>
+#include <net-snmp/net-snmp-includes.h>
+#include <net-snmp/agent/net-snmp-agent-includes.h>
+
#include "asterisk/channel.h"
#include "asterisk/logger.h"
#include "asterisk/options.h"