From 2ee5b1545919e7a5a2d6b2404bcb23cbb45f0cd4 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 23 Apr 2008 00:41:12 +0000 Subject: [PATCH] Merged revisions 114575 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r114575 | mmichelson | 2008-04-22 19:40:30 -0500 (Tue, 22 Apr 2008) | 10 lines Round 1 of IMAP_STORAGE-related app_voicemail changes This makes IMAP_STORAGE include the proper headers if you have specified the "system" option for --with-imap when running the configure script and your IMAP-related headers exist in /usr/include/c-client. This change is due to a hasty merge of a 1.4 change I made. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114576 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 6e82238746..ed2e61e505 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -75,6 +75,10 @@ c-client (http://www.washington.edu/imap/ #include #include #include +#elif defined (USE_SYSTEM_CCLIENT) +#include +#include +#include #else #include "c-client.h" #include "imap4r1.h" @@ -5038,6 +5042,8 @@ static int init_mailstream(struct vm_state *vms, int box) char *cp; #ifdef USE_SYSTEM_IMAP #include +#elif defined(USE_SYSTEM_CCLIENT) +#include #else #include "linkage.c" #endif