more removal of fcntl.h and other system headers
authorLuigi Rizzo <rizzo@icir.org>
Thu, 22 Nov 2007 01:13:46 +0000 (01:13 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Thu, 22 Nov 2007 01:13:46 +0000 (01:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89517 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/file.c
main/netsock.c

index 35a5d28..be5c019 100644 (file)
@@ -27,7 +27,6 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <fcntl.h>
 #include <dirent.h>
 #include <sys/stat.h>
 
index f6ac83b..b5b6999 100644 (file)
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <sys/time.h>
-#include <signal.h>
-#include <sys/ioctl.h>
-
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
-#include <fcntl.h>
-#endif
-
 #if defined (SOLARIS)
 #include <sys/sockio.h>
 #endif
 
 #include "asterisk/netsock.h"
-#include "asterisk/channel.h"
 #include "asterisk/utils.h"
-#include "asterisk/lock.h"
-#include "asterisk/srv.h"
 
 struct ast_netsock {
        ASTOBJ_COMPONENTS(struct ast_netsock);