From 1d6c7eb00e9b91bb80fbcce27ef1c351ad90da28 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 5 Apr 2011 13:34:55 +0000 Subject: [PATCH] Monotone-Parent: 7cced8aec79bd2e835d318154c57fb61273a4b35 Monotone-Revision: c6e69361038ae5b74d8ad57cb16d8b1eb0d55bab Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-05T13:34:55 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/NSString+Utilities.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SoObjects/SOGo/NSString+Utilities.m b/SoObjects/SOGo/NSString+Utilities.m index aa05621d5..ef3639210 100644 --- a/SoObjects/SOGo/NSString+Utilities.m +++ b/SoObjects/SOGo/NSString+Utilities.m @@ -21,6 +21,8 @@ * Boston, MA 02111-1307, USA. */ +#include + #import #import #import @@ -551,7 +553,7 @@ static NSMutableCharacterSet *safeLDIFStartChars = nil; // The salt is weak here, but who cares anyway, crypt should not // be used anymore - buf = (char *)crypt([self UTF8String], [theSalt UTF8String]); + buf = crypt([self UTF8String], [theSalt UTF8String]); return [NSString stringWithUTF8String: buf]; }