diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-08 03:48:02 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-08 03:48:02 +0000 |
commit | 291f96ced4ff5396cb7513fb66e1de21da74a378 (patch) | |
tree | 6b58c340a465334ee4ece91af2ac5d55ba0f8fe5 | |
parent | 99212965774bb9814fa7ac489d68986d2cc2e424 (diff) |
header cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7021 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | ChangeLog | 3 | ||||
-rwxr-xr-x | cryptostub.c | 4 | ||||
-rwxr-xr-x | include/asterisk/crypto.h | 3 |
3 files changed, 7 insertions, 3 deletions
@@ -4,6 +4,9 @@ 2005-11-07 Kevin P. Fleming <kpfleming@digium.com> + * cryptostub.c: include necessary headers + * include/asterisk/crypto.h: don't include unnecessary headers + * manager.c (action_setvar): add support for setting global variables (issue #5571) * Makefile: correct cross-compilation issue introduced in Cygwin patches (issue #5572) diff --git a/cryptostub.c b/cryptostub.c index 99fbe3e45..4d2809e0d 100755 --- a/cryptostub.c +++ b/cryptostub.c @@ -16,7 +16,11 @@ * at the top of the source tree. */ +#include <unistd.h> +#include <stdlib.h> + #include "asterisk/crypto.h" +#include "asterisk/logger.h" /* Hrm, I wonder if the compiler is smart enough to only create two functions for all these... I could force it to only make two, but those would be some diff --git a/include/asterisk/crypto.h b/include/asterisk/crypto.h index 2463ba4ed..d0f852caf 100755 --- a/include/asterisk/crypto.h +++ b/include/asterisk/crypto.h @@ -23,9 +23,6 @@ #ifndef _ASTERISK_CRYPTO_H #define _ASTERISK_CRYPTO_H -#include "asterisk/channel.h" -#include "asterisk/file.h" - #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif |