[xml] hash.h: define types used in parser.h before including
- From: Karl Eichwalder <ke suse de>
- To: xml gnome org
- Subject: [xml] hash.h: define types used in parser.h before including
- Date: Fri, 07 Nov 2003 10:43:16 +0100
Rüdiger Oertel just applied the following patch to libxml2-2.6.2:
- change include file hash.h
define types used in parser.h before including
--- include/libxml/hash.h
+++ include/libxml/hash.h
@@ -18,9 +18,6 @@
#ifndef __XML_HASH_H__
#define __XML_HASH_H__
-#include <libxml/xmlversion.h>
-#include <libxml/parser.h>
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -31,6 +28,17 @@
typedef struct _xmlHashTable xmlHashTable;
typedef xmlHashTable *xmlHashTablePtr;
+#ifdef __cplusplus
+}
+#endif
+
+#include <libxml/xmlversion.h>
+#include <libxml/parser.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* function types:
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]