aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_agi.c')
-rw-r--r--res/res_agi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 36ad040b3..55659f3cf 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -27,11 +27,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <netdb.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netinet/tcp.h>
-#include <arpa/inet.h>
#include <math.h>
#include <signal.h>
#include <sys/time.h>
@@ -40,6 +35,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <sys/wait.h>
#include <sys/stat.h>
+#include "asterisk/network.h"
#include "asterisk/file.h"
#include "asterisk/logger.h"
#include "asterisk/channel.h"