aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-22 01:13:46 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-22 01:13:46 +0000
commit26ba1e961f2903df1ebe5ec58a986c8b1dc56b57 (patch)
treeab15354430283c611d17f477b88d191550451172
parent8cd33321ef8470c56fbd11d83e8f669a1a534afa (diff)
more removal of fcntl.h and other system headers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89517 f38db490-d61c-443f-a65b-d21fe96a405b
-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);