diff options
-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" |