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]; }