File c3086119cd0a8947b9e1068ace014db13c16afd4.patch of Package nonpareil

From c3086119cd0a8947b9e1068ace014db13c16afd4 Mon Sep 17 00:00:00 2001
From: Perry Werneck <perry.werneck@gmail.com>
Date: Tue, 27 Aug 2024 22:54:38 -0300
Subject: [PATCH] Fixing build on opensuse tumbleweed.

---
 src/asm_cond_y.y | 1 +
 src/calcdef.c    | 1 +
 src/xmlutil.c    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/asm_cond_y.y b/src/asm_cond_y.y
index f4c363e8..5177d81e 100644
--- a/src/asm_cond_y.y
+++ b/src/asm_cond_y.y
@@ -29,6 +29,7 @@ MA 02111, USA.
 #include "symtab.h"
 #include "arch.h"
 #include "asm.h"
+#include "asm_cond.h"
 
 void asm_cond_error (char *s);
 %}
diff --git a/src/calcdef.c b/src/calcdef.c
index 0767deb3..87c19bd9 100644
--- a/src/calcdef.c
+++ b/src/calcdef.c
@@ -23,6 +23,7 @@ MA 02111, USA.
 #include <stdbool.h>
 #include <stdint.h>
 #include <string.h>
+#include <stdlib.h>
 
 #include <libxml/SAX.h>
 #include <libxml/xmlwriter.h>
diff --git a/src/xmlutil.c b/src/xmlutil.c
index 422f4177..1794179d 100644
--- a/src/xmlutil.c
+++ b/src/xmlutil.c
@@ -25,6 +25,7 @@ MA 02111, USA.
 #include <string.h>
 
 #include <libxml/xmlwriter.h>
+#include <libxml/entities.h>
 
 #include "util.h"
 #include "xmlutil.h"
openSUSE Build Service is sponsored by