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
This commit is contained in:
Luigi Rizzo
2007-11-17 14:11:53 +00:00
parent 616189c6ec
commit a0f06d0dd5
16 changed files with 18 additions and 82 deletions

View File

@@ -67,7 +67,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <fcntl.h>
#include <signal.h>
#include <sched.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/wait.h>
#include <errno.h>
@@ -87,14 +86,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#endif /* linux */
#include <regex.h>
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#if defined(SOLARIS)
int daemon(int, int); /* defined in libresolv of all places */
#include <sys/loadavg.h>
#endif
#include "asterisk/network.h"
#include "asterisk/logger.h"
#include "asterisk/options.h"
#include "asterisk/cli.h"