From 2681fc06cd840d31b7fe2a9fb3c5856d1d4b9967 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 9 Nov 2011 15:02:29 +0000 Subject: [PATCH] Monotone-Parent: 4133fa3bdfc5ea96190a7418e63c70b71d18a166 Monotone-Revision: cad6ada90ff5ceee70d17d329089fd9a10525383 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-09T15:02:29 Monotone-Branch: ca.inverse.sogo --- OpenChange/MAPIStoreAppointmentWrapper.m | 1 + OpenChange/MAPIStoreCalendarMessage.m | 1 + OpenChange/MAPIStoreContext.m | 1 + OpenChange/MAPIStoreFAIMessage.m | 2 ++ OpenChange/MAPIStoreFAIMessageTable.m | 2 ++ OpenChange/MAPIStoreFSBaseContext.m | 3 --- OpenChange/MAPIStoreFolder.m | 1 + OpenChange/MAPIStoreMailFolder.m | 1 + OpenChange/MAPIStoreRecurrenceUtils.h | 3 --- OpenChange/MAPIStoreRecurrenceUtils.m | 4 ++++ OpenChange/MAPIStoreTypes.h | 2 ++ OpenChange/MAPIStoreTypes.m | 11 ++++------- OpenChange/NSArray+MAPIStore.m | 1 + OpenChange/NSData+MAPIStore.m | 3 ++- OpenChange/NSDate+MAPIStore.m | 3 ++- OpenChange/NSString+MAPIStore.m | 2 ++ OpenChange/SOGoMAPIFSFolder.m | 2 ++ 17 files changed, 28 insertions(+), 15 deletions(-) diff --git a/OpenChange/MAPIStoreAppointmentWrapper.m b/OpenChange/MAPIStoreAppointmentWrapper.m index cbd62fca8..1f87abad0 100644 --- a/OpenChange/MAPIStoreAppointmentWrapper.m +++ b/OpenChange/MAPIStoreAppointmentWrapper.m @@ -53,6 +53,7 @@ #include #include #include +#include #include #include #include diff --git a/OpenChange/MAPIStoreCalendarMessage.m b/OpenChange/MAPIStoreCalendarMessage.m index 174d33f65..1113b02b1 100644 --- a/OpenChange/MAPIStoreCalendarMessage.m +++ b/OpenChange/MAPIStoreCalendarMessage.m @@ -25,6 +25,7 @@ - take the tz definitions from Outlook */ #include +#include #import #import diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index 312b20ec4..ec431228c 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -56,6 +56,7 @@ #undef DEBUG #include #include +#include #include #include #include diff --git a/OpenChange/MAPIStoreFAIMessage.m b/OpenChange/MAPIStoreFAIMessage.m index 68e9c952d..8ae940af0 100644 --- a/OpenChange/MAPIStoreFAIMessage.m +++ b/OpenChange/MAPIStoreFAIMessage.m @@ -26,6 +26,8 @@ #import "MAPIStoreFAIMessage.h" #undef DEBUG +#include +#include #include @implementation MAPIStoreFAIMessage diff --git a/OpenChange/MAPIStoreFAIMessageTable.m b/OpenChange/MAPIStoreFAIMessageTable.m index 46c23e7d7..fb7b6df1f 100644 --- a/OpenChange/MAPIStoreFAIMessageTable.m +++ b/OpenChange/MAPIStoreFAIMessageTable.m @@ -28,6 +28,8 @@ #import "MAPIStoreFAIMessageTable.h" #undef DEBUG +#include +#include #include static Class MAPIStoreFAIMessageK = Nil; diff --git a/OpenChange/MAPIStoreFSBaseContext.m b/OpenChange/MAPIStoreFSBaseContext.m index d57225056..bb34b4795 100644 --- a/OpenChange/MAPIStoreFSBaseContext.m +++ b/OpenChange/MAPIStoreFSBaseContext.m @@ -34,9 +34,6 @@ #import "MAPIStoreFSBaseContext.h" -#undef DEBUG -#include - static Class MAPIStoreFSFolderK; @implementation MAPIStoreFSBaseContext diff --git a/OpenChange/MAPIStoreFolder.m b/OpenChange/MAPIStoreFolder.m index ec4220b87..4630f7246 100644 --- a/OpenChange/MAPIStoreFolder.m +++ b/OpenChange/MAPIStoreFolder.m @@ -51,6 +51,7 @@ #include #undef DEBUG +#include #include #include #include diff --git a/OpenChange/MAPIStoreMailFolder.m b/OpenChange/MAPIStoreMailFolder.m index aac7d66e7..e99ec2059 100644 --- a/OpenChange/MAPIStoreMailFolder.m +++ b/OpenChange/MAPIStoreMailFolder.m @@ -64,6 +64,7 @@ static Class SOGoMailFolderK; #undef DEBUG +#include #include #include #include diff --git a/OpenChange/MAPIStoreRecurrenceUtils.h b/OpenChange/MAPIStoreRecurrenceUtils.h index e1f50c1e8..4fdf8c54e 100644 --- a/OpenChange/MAPIStoreRecurrenceUtils.h +++ b/OpenChange/MAPIStoreRecurrenceUtils.h @@ -26,9 +26,6 @@ #import #import -#include -#include - @class NSCalendarDate; @class iCalRepeatableEntityObject; @class iCalRecurrenceRule; diff --git a/OpenChange/MAPIStoreRecurrenceUtils.m b/OpenChange/MAPIStoreRecurrenceUtils.m index de279b4fe..4026c5b88 100644 --- a/OpenChange/MAPIStoreRecurrenceUtils.m +++ b/OpenChange/MAPIStoreRecurrenceUtils.m @@ -32,6 +32,10 @@ #import "NSDate+MAPIStore.h" #import "MAPIStoreRecurrenceUtils.h" +#include +#include +#include + @implementation iCalCalendar (MAPIStoreRecurrence) - (void) setupRecurrenceWithMasterEntity: (iCalRepeatableEntityObject *) entity diff --git a/OpenChange/MAPIStoreTypes.h b/OpenChange/MAPIStoreTypes.h index 6272f94e1..23dc03b12 100644 --- a/OpenChange/MAPIStoreTypes.h +++ b/OpenChange/MAPIStoreTypes.h @@ -26,6 +26,8 @@ #import #include +#include +#include #include @class NSData; diff --git a/OpenChange/MAPIStoreTypes.m b/OpenChange/MAPIStoreTypes.m index a278f0594..87e01792a 100644 --- a/OpenChange/MAPIStoreTypes.m +++ b/OpenChange/MAPIStoreTypes.m @@ -20,13 +20,6 @@ * Boston, MA 02111-1307, USA. */ -#undef DEBUG -#include -#include -#include -#include -#include - #import #import #import @@ -38,6 +31,10 @@ #import "MAPIStoreTypes.h" +#undef DEBUG +#include +#include + uint8_t * MAPIBoolValue (void *memCtx, BOOL value) { diff --git a/OpenChange/NSArray+MAPIStore.m b/OpenChange/NSArray+MAPIStore.m index a651888f4..000bc3ec7 100644 --- a/OpenChange/NSArray+MAPIStore.m +++ b/OpenChange/NSArray+MAPIStore.m @@ -28,6 +28,7 @@ #undef DEBUG #include +#include #include @implementation NSArray (MAPIStoreFolders) diff --git a/OpenChange/NSData+MAPIStore.m b/OpenChange/NSData+MAPIStore.m index f998ef27d..e9fe04076 100644 --- a/OpenChange/NSData+MAPIStore.m +++ b/OpenChange/NSData+MAPIStore.m @@ -24,8 +24,9 @@ #undef DEBUG #include -#include #include +#include +#include @implementation NSData (MAPIStoreDataTypes) diff --git a/OpenChange/NSDate+MAPIStore.m b/OpenChange/NSDate+MAPIStore.m index 63d83a0a7..d36ff6729 100644 --- a/OpenChange/NSDate+MAPIStore.m +++ b/OpenChange/NSDate+MAPIStore.m @@ -27,8 +27,9 @@ #import "NSDate+MAPIStore.h" #undef DEBUG -#include #include +#include +#include static NSCalendarDate *refDate = nil; diff --git a/OpenChange/NSString+MAPIStore.m b/OpenChange/NSString+MAPIStore.m index e6cf8fad7..a4a894b6a 100644 --- a/OpenChange/NSString+MAPIStore.m +++ b/OpenChange/NSString+MAPIStore.m @@ -28,6 +28,8 @@ #import "NSString+MAPIStore.h" #undef DEBUG +#include +#include #include @implementation NSString (MAPIStoreDataTypes) diff --git a/OpenChange/SOGoMAPIFSFolder.m b/OpenChange/SOGoMAPIFSFolder.m index 8389830de..67c592543 100644 --- a/OpenChange/SOGoMAPIFSFolder.m +++ b/OpenChange/SOGoMAPIFSFolder.m @@ -35,6 +35,8 @@ #import "SOGoMAPIFSFolder.h" #undef DEBUG +#include +#include #include #include #include