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

include: Break inclusion cycle between tree.h and xmlregexp.h

This commit is contained in:
Nick Wellnhofer
2023-09-20 19:09:15 +02:00
parent 699299cae3
commit 736327df6b
2 changed files with 3 additions and 20 deletions

View File

@@ -16,6 +16,8 @@
#include <limits.h>
#include <libxml/xmlversion.h>
#include <libxml/xmlstring.h>
#include <libxml/xmlmemory.h>
#include <libxml/xmlregexp.h>
#ifdef __cplusplus
extern "C" {
@@ -329,14 +331,6 @@ typedef enum {
XML_ELEMENT_TYPE_ELEMENT
} xmlElementTypeVal;
#ifdef __cplusplus
}
#endif
#include <libxml/xmlregexp.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* xmlElement:
*
@@ -1341,9 +1335,6 @@ XMLPUBFUN xmlDeregisterNodeFunc
#ifdef __cplusplus
}
#endif
#ifndef __XML_PARSER_H__
#include <libxml/xmlmemory.h>
#endif
#endif /* __XML_TREE_H__ */