diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-24 13:48:48 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-24 13:48:48 +0000 |
commit | 49c0eaf803ca6abffc5c17284cfa114fc2ab9244 (patch) | |
tree | ba8dc64081dee9cd6f94f4f5b66d806d91fae38f /main | |
parent | b0d83789106a52ff1b75b6b14c2d16711ac10d77 (diff) |
remove some unnecessary includes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/acl.c | 8 | ||||
-rw-r--r-- | main/app.c | 6 | ||||
-rw-r--r-- | main/http.c | 1 |
3 files changed, 2 insertions, 13 deletions
diff --git a/main/acl.c b/main/acl.c index 860f2f16a..ff0d25d09 100644 --- a/main/acl.c +++ b/main/acl.c @@ -29,14 +29,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/network.h" -#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 diff --git a/main/app.c b/main/app.c index 20064af14..6d531d7b7 100644 --- a/main/app.c +++ b/main/app.c @@ -27,11 +27,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#include <sys/time.h> -#include <signal.h> -#include <dirent.h> +#ifdef HAVE_SYS_STAT_H #include <sys/stat.h> -#include <sys/file.h> +#endif #include <regex.h> #include "asterisk/paths.h" /* use ast_config_AST_DATA_DIR */ diff --git a/main/http.c b/main/http.c index c996a6ccd..485211192 100644 --- a/main/http.c +++ b/main/http.c @@ -39,7 +39,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <sys/stat.h> #include <sys/signal.h> #include <fcntl.h> -#include <pthread.h> #include "minimime/mm.h" |