diff --git a/libs/apr-util/include/apu.hw b/libs/apr-util/include/apu.hw index 494a8b722b..c710ee2b13 100644 --- a/libs/apr-util/include/apu.hw +++ b/libs/apr-util/include/apu.hw @@ -95,7 +95,7 @@ #endif -#define APU_HAVE_APR_ICONV 1 +#define APU_HAVE_APR_ICONV 0 #define APU_HAVE_ICONV 0 #define APR_HAS_XLATE (APU_HAVE_APR_ICONV || APU_HAVE_ICONV) diff --git a/libs/win32/apr-util/libaprutil.2008.vcproj b/libs/win32/apr-util/libaprutil.2008.vcproj index e4a3ee0838..49967e4a98 100644 --- a/libs/win32/apr-util/libaprutil.2008.vcproj +++ b/libs/win32/apr-util/libaprutil.2008.vcproj @@ -545,7 +545,6 @@ > #include +#include /* apr stubs */ @@ -807,6 +808,12 @@ SWITCH_DECLARE(switch_status_t) switch_uuid_parse(switch_uuid_t *uuid, const cha return apr_uuid_parse((apr_uuid_t *) uuid, uuid_str); } +SWITCH_DECLARE(switch_status_t) switch_md5(unsigned char digest[SWITCH_MD5_DIGESTSIZE], const void *input, switch_size_t inputLen) +{ + return apr_md5(digest, input, inputLen); +} + + /* FIFO queues (apr-util) */ SWITCH_DECLARE(switch_status_t) switch_queue_create(switch_queue_t **queue, unsigned int queue_capacity, switch_memory_pool_t *pool)