blob: a249eaf5a196d3ee5ee8b5a40a8a45866be2352b [file] [log] [blame]
Andrew Geisslerc5535c92023-01-27 16:10:19 -06001From 8defe6aaf91613c3fcb540df65a94cd56d377367 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 13 Jan 2023 13:21:51 -0800
4Subject: [PATCH 1/2] include rpm/rpmstring.h
5
6Its needed for rasprintf declaration
7
8Fixes
9src/xml_file.c:341:36: error: call to undeclared functi
10on 'rasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
11
12Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/xml_file.c | 1 +
16 1 file changed, 1 insertion(+)
17
18--- a/src/xml_file.c
19+++ b/src/xml_file.c
20@@ -19,6 +19,7 @@
21
22 #include <glib.h>
23 #include <glib/gstdio.h>
24+#include <rpm/rpmstring.h>
25 #include <assert.h>
26 #include "xml_file.h"
27 #include <errno.h>