diff --git a/Classes/ASIWebPageRequest/ASIWebPageRequest.h b/Classes/ASIWebPageRequest/ASIWebPageRequest.h index bc88b522..376bd50f 100644 --- a/Classes/ASIWebPageRequest/ASIWebPageRequest.h +++ b/Classes/ASIWebPageRequest/ASIWebPageRequest.h @@ -11,10 +11,6 @@ // Known issue: You cannot use startSychronous with an ASIWebPageRequest #import "ASIHTTPRequest.h" -#import -#import -#import -#import @class ASINetworkQueue; @@ -52,7 +48,7 @@ typedef enum _ASIURLReplacementMode { NSMutableDictionary *resourceList; // Used internally for parsing HTML (with libxml) - xmlDocPtr doc; + struct _xmlDoc *doc; // If the response is an HTML or CSS file, this will be set so the content can be correctly parsed when it has finished fetching external resources ASIWebContentType webContentType; diff --git a/Classes/ASIWebPageRequest/ASIWebPageRequest.m b/Classes/ASIWebPageRequest/ASIWebPageRequest.m index 1024c4ca..69b3d533 100644 --- a/Classes/ASIWebPageRequest/ASIWebPageRequest.m +++ b/Classes/ASIWebPageRequest/ASIWebPageRequest.m @@ -10,6 +10,10 @@ #import "ASIWebPageRequest.h" #import "ASINetworkQueue.h" #import +#import +#import +#import +#import // An xPath query that controls the external resources ASIWebPageRequest will fetch // By default, it will fetch stylesheets, javascript files, images, frames, iframes, and html 5 video / audio