diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 14:11:53 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 14:11:53 +0000 |
commit | fb8143ad310bd312314014a3cc521bc090870ffb (patch) | |
tree | 7e317730a0c94e6d6b4c04aca0a04ca5fc30d7ca /pbx/pbx_dundi.c | |
parent | 139e5f6dd448a51b1b5df6b2da1f23b43917515e (diff) |
start using asterisk/network.h for network related headers.
Also remove some unnecessary includes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89380 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_dundi.c')
-rw-r--r-- | pbx/pbx_dundi.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index f2c3be341..bcbce6e4e 100644 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -30,21 +30,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#include <netinet/in.h> -#include <arpa/inet.h> -#include <sys/socket.h> +#include "asterisk/network.h" #include <errno.h> -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(SOLARIS) || defined(__Darwin__) -#include <sys/types.h> -#include <netinet/in_systm.h> -#endif -#include <netinet/ip.h> #include <sys/ioctl.h> -#include <net/if.h> -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__Darwin__) -#include <net/if_dl.h> -#include <ifaddrs.h> -#endif #include <zlib.h> #include <sys/signal.h> #include <pthread.h> |