summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-22 01:13:46 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-22 01:13:46 +0000
commitdd10b6d37e20cdda67bd1922d2811461465e45d3 (patch)
treeab15354430283c611d17f477b88d191550451172 /main
parent3fc26468080367df71242f91b97b83f4a341f652 (diff)
more removal of fcntl.h and other system headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/file.c1
-rw-r--r--main/netsock.c11
2 files changed, 0 insertions, 12 deletions
diff --git a/main/file.c b/main/file.c
index 35a5d2861..be5c019de 100644
--- a/main/file.c
+++ b/main/file.c
@@ -27,7 +27,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <fcntl.h>
#include <dirent.h>
#include <sys/stat.h>
diff --git a/main/netsock.c b/main/netsock.c
index f6ac83b11..b5b6999f6 100644
--- a/main/netsock.c
+++ b/main/netsock.c
@@ -29,23 +29,12 @@
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);