X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fcalendar%2Fserv_calendar.c;h=7e0ed46ab22734533ed81baa9837ab9254833d86;hb=cf934431c7c8c1091b38c0b374f6a3b9293841ca;hp=4d0144ba2dfa71a6f4052f7bc12d9d5d04aec351;hpb=1d70c160be9a9f3f6e3c211dcfb131563dcc103f;p=citadel.git diff --git a/citadel/modules/calendar/serv_calendar.c b/citadel/modules/calendar/serv_calendar.c index 4d0144ba2..7e0ed46ab 100644 --- a/citadel/modules/calendar/serv_calendar.c +++ b/citadel/modules/calendar/serv_calendar.c @@ -19,6 +19,7 @@ #ifdef HAVE_STRINGS_H #include #endif +#include #include #include "citadel.h" #include "server.h" @@ -32,10 +33,6 @@ #include "serv_calendar.h" #include "euidindex.h" #include "ctdl_module.h" - -#ifdef CITADEL_WITH_CALENDAR_SERVICE - -#include #include "ical_dezonify.h" @@ -2173,8 +2170,6 @@ void serv_calendar_destroy(void) icaltimezone_free_builtin_timezones(); } -#endif /* CITADEL_WITH_CALENDAR_SERVICE */ - /* * Register this module with the Citadel server. */ @@ -2182,7 +2177,6 @@ CTDL_MODULE_INIT(calendar) { if (!threading) { -#ifdef CITADEL_WITH_CALENDAR_SERVICE CtdlRegisterMessageHook(ical_obj_beforesave, EVT_BEFORESAVE); CtdlRegisterMessageHook(ical_obj_aftersave, EVT_AFTERSAVE); CtdlRegisterSessionHook(ical_create_room, EVT_LOGIN); @@ -2192,7 +2186,6 @@ CTDL_MODULE_INIT(calendar) CtdlRegisterFixedOutputHook("text/calendar", ical_fixed_output); CtdlRegisterFixedOutputHook("application/ics", ical_fixed_output); CtdlRegisterCleanupHook(serv_calendar_destroy); -#endif } /* return our Subversion id for the Log */