[libxml2] Don't include SAX.h from globals.h
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Don't include SAX.h from globals.h
- Date: Wed, 12 Sep 2018 11:55:08 +0000 (UTC)
commit 1dafb427d9e61559fbe12e530537b8096e4c315c
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Mon Sep 3 15:29:50 2018 +0200
Don't include SAX.h from globals.h
SAX.h contains a legacy interface with several unprefixed symbols
like `reference`, causing severe namespace pollution. The globals.h
header doesn't need any of these symbols, so remove the #include.
include/libxml/globals.h | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/include/libxml/globals.h b/include/libxml/globals.h
index a9305aa9..5e41b7bb 100644
--- a/include/libxml/globals.h
+++ b/include/libxml/globals.h
@@ -17,7 +17,6 @@
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
#include <libxml/xmlerror.h>
-#include <libxml/SAX.h>
#include <libxml/SAX2.h>
#include <libxml/xmlmemory.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]