Skip to content

Commit

Permalink
Merge pull request #120 from jimdusseau/master
Browse files Browse the repository at this point in the history
Removed xml includes from public headers
  • Loading branch information
jimdusseau committed Nov 30, 2015
2 parents 2372732 + f367ada commit fe524f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
*/

#import <Foundation/Foundation.h>
#import <libxml/xmlstring.h>

typedef unsigned char xmlChar;

static inline NSString * NSStringFromXmlCharWithLength( const xmlChar * ch, size_t length) {
if (ch == NULL) {
Expand Down
4 changes: 3 additions & 1 deletion evernote-sdk-ios/ENSDK/Private/ENXMLSaxParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
*/

#import <Foundation/Foundation.h>
#import <libxml/tree.h>

typedef struct _xmlParserCtxt xmlParserCtxt;
typedef xmlParserCtxt *xmlParserCtxtPtr;

extern NSString * const ENXMLSaxParserErrorDomain;

Expand Down
1 change: 1 addition & 0 deletions evernote-sdk-ios/ENSDK/Private/ENXMLSaxParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#import "ENXMLDTD.h"
#import "ENXMLUtils.h"

#import <libxml/tree.h>
#include <libxml/HTMLtree.h>
#include <unistd.h>

Expand Down

0 comments on commit fe524f7

Please sign in to comment.