Line 0
Link Here
|
|
|
1 |
From 0539e12b3de14a77481bd3f87b301b7e7550172c Mon Sep 17 00:00:00 2001 |
2 |
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <petr.pisar@atlas.cz> |
3 |
Date: Thu, 23 Nov 2023 21:10:05 +0100 |
4 |
Subject: [PATCH] Fix building with libxml2-2.12.0 |
5 |
|
6 |
libxml-2.12.0 shuffled included header files. |
7 |
--- |
8 |
test/offline/isds_message_free.c | 1 + |
9 |
test/simline/service.c | 1 + |
10 |
2 files changed, 2 insertions(+) |
11 |
|
12 |
diff --git a/test/offline/isds_message_free.c b/test/offline/isds_message_free.c |
13 |
index 3c2096e..f819d19 100644 |
14 |
--- a/test/offline/isds_message_free.c |
15 |
+++ b/test/offline/isds_message_free.c |
16 |
@@ -1,5 +1,6 @@ |
17 |
#include "../test.h" |
18 |
#include "isds.h" |
19 |
+#include <libxml/parser.h> |
20 |
|
21 |
static int test_isds_message_free(struct isds_message **message) { |
22 |
isds_message_free(message); |
23 |
diff --git a/test/simline/service.c b/test/simline/service.c |
24 |
index 533bed5..fea6e87 100644 |
25 |
--- a/test/simline/service.c |
26 |
+++ b/test/simline/service.c |
27 |
@@ -6,6 +6,7 @@ |
28 |
#include "system.h" |
29 |
#include <string.h> |
30 |
#include <stdint.h> /* For intmax_t */ |
31 |
+#include <stdlib.h> /* For free() */ |
32 |
#include <inttypes.h> /* For PRIdMAX */ |
33 |
#include <ctype.h> /* for isdigit() */ |
34 |
#include <libxml/parser.h> |
35 |
-- |
36 |
2.43.0 |
37 |
|