1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

globals: Don't include SAX2.h from globals.h

This commit is contained in:
Nick Wellnhofer
2023-09-20 16:57:22 +02:00
parent 2e6c49a74d
commit a77f9ab84c
9 changed files with 8 additions and 1 deletions

1
SAX2.c
View File

@@ -13,6 +13,7 @@
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include <stddef.h> #include <stddef.h>
#include <libxml/SAX2.h>
#include <libxml/xmlmemory.h> #include <libxml/xmlmemory.h>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <libxml/parser.h> #include <libxml/parser.h>

View File

@@ -12,6 +12,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/tree.h> #include <libxml/tree.h>

View File

@@ -20,6 +20,7 @@
#include <libxml/xmlmemory.h> #include <libxml/xmlmemory.h>
#include <libxml/threads.h> #include <libxml/threads.h>
#include <libxml/SAX.h> #include <libxml/SAX.h>
#include <libxml/SAX2.h>
#include "private/error.h" #include "private/error.h"
#include "private/globals.h" #include "private/globals.h"

View File

@@ -14,7 +14,6 @@
#include <libxml/xmlversion.h> #include <libxml/xmlversion.h>
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/xmlerror.h> #include <libxml/xmlerror.h>
#include <libxml/SAX2.h>
#include <libxml/xmlmemory.h> #include <libxml/xmlmemory.h>
#ifdef __cplusplus #ifdef __cplusplus

View File

@@ -16,6 +16,7 @@
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/HTMLparser.h> #include <libxml/HTMLparser.h>
#include <libxml/chvalid.h> #include <libxml/chvalid.h>
#include <libxml/SAX2.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -62,6 +62,7 @@
#include <libxml/encoding.h> #include <libxml/encoding.h>
#include <libxml/xmlIO.h> #include <libxml/xmlIO.h>
#include <libxml/uri.h> #include <libxml/uri.h>
#include <libxml/SAX2.h>
#ifdef LIBXML_CATALOG_ENABLED #ifdef LIBXML_CATALOG_ENABLED
#include <libxml/catalog.h> #include <libxml/catalog.h>
#endif #endif

View File

@@ -25,6 +25,7 @@
#ifdef LIBXML_SCHEMATRON_ENABLED #ifdef LIBXML_SCHEMATRON_ENABLED
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/tree.h> #include <libxml/tree.h>

View File

@@ -1,3 +1,4 @@
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/dict.h> #include <libxml/dict.h>

View File

@@ -16,6 +16,7 @@
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/uri.h> #include <libxml/uri.h>
#include <libxml/HTMLtree.h> #include <libxml/HTMLtree.h>
#include <libxml/SAX2.h>
#ifdef LIBXML_WRITER_ENABLED #ifdef LIBXML_WRITER_ENABLED