MINGW-packages/mingw-w64-gnucobol/0003-missing-libxml2-header.patch
Raed Rizqie 51fbdf07b5
gnucobol: fix building discrepancy
- PKGBUILD cleanup
- add missing libxml2 header
- fix deprecated ucrt functions
2024-11-25 15:25:07 +03:00

13 lines
317 B
Diff

diff --git a/libcob/common.c b/libcob/common.c
index eef27ff..cb22742 100644
--- a/libcob/common.c
+++ b/libcob/common.c
@@ -136,6 +136,7 @@
#if defined (WITH_XML2)
#include <libxml/xmlversion.h>
#include <libxml/xmlwriter.h>
+#include <libxml/parser.h> // for xmlCleanupParser
#endif
#if defined (WITH_CJSON)