[asterisk-commits] mmichelson: trunk r114575 - /trunk/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 22 19:40:30 CDT 2008


Author: mmichelson
Date: Tue Apr 22 19:40:30 2008
New Revision: 114575

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114575
Log:
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.


Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=114575&r1=114574&r2=114575
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Apr 22 19:40:30 2008
@@ -75,6 +75,10 @@
 #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 @@
 		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




More information about the asterisk-commits mailing list