summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-17 14:11:53 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-17 14:11:53 +0000
commita0f06d0dd52fe25593c3d18786dc237e58950bb7 (patch)
tree7e317730a0c94e6d6b4c04aca0a04ca5fc30d7ca /res
parent616189c6ec5cd2c4124b39f307af300b41d1afbd (diff)
start using asterisk/network.h for network related headers.
Also remove some unnecessary includes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-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"