diff --git a/Source/NSRegularExpression.m b/Source/NSRegularExpression.m index 1f9b30d04..b21a5ca38 100644 --- a/Source/NSRegularExpression.m +++ b/Source/NSRegularExpression.m @@ -628,6 +628,7 @@ prepareResult(NSRegularExpression *regex, #ifndef NSRegularExpressionWorks #import "Foundation/NSRegularExpression.h" #import "Foundation/NSZone.h" +#import "Foundation/NSException.h" @implementation NSRegularExpression + (id)allocWithZone: (NSZone*)aZone {