trim more redundant headers
authorLuigi Rizzo <rizzo@icir.org>
Sat, 17 Nov 2007 16:18:53 +0000 (16:18 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sat, 17 Nov 2007 16:18:53 +0000 (16:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89384 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_features.c
channels/chan_local.c
main/config.c
main/http.c
main/translate.c

index f1b251f..4545b1b 100644 (file)
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <sys/socket.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
 #include <sys/signal.h>
 
 #include "asterisk/lock.h"
index 8a93e25..789cf54 100644 (file)
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <sys/socket.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
 #include <sys/signal.h>
 
 #include "asterisk/lock.h"
index da499ac..cb4e9ca 100644 (file)
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
+#include "asterisk/network.h"  /* we do some sockaddr manipulation here */
 #include <errno.h>
 #include <time.h>
 #include <sys/stat.h>
-#include <sys/socket.h>                /* for AF_INET */
 #define AST_INCLUDE_GLOB 1
 #ifdef AST_INCLUDE_GLOB
 #if defined(__Darwin__) || defined(__CYGWIN__)
index 7271e85..ee5fad2 100644 (file)
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
+#include "asterisk/network.h"
 #include <time.h>
-#include <netinet/in.h>
 #include <sys/time.h>
-#include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/signal.h>
-#include <arpa/inet.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <pthread.h>
index 734f369..29e438a 100644 (file)
@@ -27,7 +27,6 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <sys/socket.h>
 #include <sys/time.h>
 #include <sys/resource.h>