aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-23 00:41:12 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-23 00:41:12 +0000
commitd9332cb402d9d39d9f265f901c078f2cecbafbbe (patch)
tree7effb07a622109dec9a7d9192c1aa7c3cac72bf0 /apps
parentd971da3b80c2b73bf30fa940ac62c6712a350287 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@114576 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 6e8223874..ed2e61e50 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -75,6 +75,10 @@ c-client (http://www.washington.edu/imap/
#include <imap/c-client.h>
#include <imap/imap4r1.h>
#include <imap/linkage.h>
+#elif defined (USE_SYSTEM_CCLIENT)
+#include <c-client/c-client.h>
+#include <c-client/imap4r1.h>
+#include <c-client/linkage.h>
#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 <imap/linkage.c>
+#elif defined(USE_SYSTEM_CCLIENT)
+#include <c-client/linkage.c>
#else
#include "linkage.c"
#endif