header cleanup
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 03:48:02 +0000 (03:48 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 03:48:02 +0000 (03:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7021 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
cryptostub.c
include/asterisk/crypto.h

index 8e5337b..9981003 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
index 99fbe3e..4d2809e 100755 (executable)
  * 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
index 2463ba4..d0f852c 100755 (executable)
@@ -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