Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build without libical #5208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions imap/dav_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
#include <sys/wait.h>

#include "assert.h"
#ifdef WITH_DAV
#include "caldav_alarm.h"
#endif
#include "cyrusdb.h"
#include "dav_db.h"
#include "global.h"
Expand Down
5 changes: 5 additions & 0 deletions imap/itip_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@

#include <config.h>

#ifdef HAVE_ICAL
#include <libical/ical.h>
#endif

#include "acl.h"
#include "parseaddr.h"
Expand Down Expand Up @@ -78,6 +80,7 @@ enum sched_mechanism {

extern const char *sched_mechanisms[];

#ifdef HAVE_ICAL
struct sched_data {
enum sched_mechanism mech;
unsigned flags;
Expand Down Expand Up @@ -180,4 +183,6 @@ extern enum sched_deliver_outcome sched_deliver_local(const char *userid,
const char **attendeep,
icalcomponent **icalp);

#endif /* HAVE_ICAL */

#endif /* ITIP_SUPPORT_H */
4 changes: 4 additions & 0 deletions imap/jmap_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,16 @@

#include "annotate.h"
#include "append.h"
#ifdef HAVE_ICAL
#include "caldav_util.h"
#endif
#include "carddav_db.h"
#include "global.h"
#include "hash.h"
#include "index.h"
#ifdef HAVE_ICAL
#include "jmap_ical.h"
#endif
#include "jmap_util.h"
#include "json_support.h"
#include "search_query.h"
Expand Down
Loading