diff options
Diffstat (limited to 'Modules/expat/xmlrole.c')
-rw-r--r-- | Modules/expat/xmlrole.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/expat/xmlrole.c b/Modules/expat/xmlrole.c index 83c0d71..1924fcb 100644 --- a/Modules/expat/xmlrole.c +++ b/Modules/expat/xmlrole.c @@ -2,6 +2,8 @@ See the file COPYING for copying permission. */ +#include <stddef.h> + #ifdef COMPILED_FROM_DSP #include "winconfig.h" #elif defined(MACOS_CLASSIC) @@ -12,6 +14,7 @@ #endif #endif /* ndef COMPILED_FROM_DSP */ +#include "expat_external.h" #include "internal.h" #include "xmlrole.h" #include "ascii.h" @@ -370,6 +373,8 @@ internalSubset(PROLOG_STATE *state, case XML_TOK_CLOSE_BRACKET: state->handler = doctype5; return XML_ROLE_DOCTYPE_NONE; + case XML_TOK_NONE: + return XML_ROLE_NONE; } return common(state, tok); } |