git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89384
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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"
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"
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__)
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>
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <sys/socket.h>
#include <sys/time.h>
#include <sys/resource.h>