diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-04-23 00:40:30 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-04-23 00:40:30 +0000 |
commit | edf03132155f3233cd8fd6a7a0b3febe5faf905f (patch) | |
tree | a4aadb95e736220093af466376df469483858a94 | |
parent | b170c36350b690b28caabd4cd516e996df9ab025 (diff) |
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/trunk@114575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | apps/app_voicemail.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 99744dc73..a9f430deb 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" @@ -5549,6 +5553,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 |