Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 1 | From 8defe6aaf91613c3fcb540df65a94cd56d377367 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 13 Jan 2023 13:21:51 -0800 |
| 4 | Subject: [PATCH 1/2] include rpm/rpmstring.h |
| 5 | |
| 6 | Its needed for rasprintf declaration |
| 7 | |
| 8 | Fixes |
| 9 | src/xml_file.c:341:36: error: call to undeclared functi |
| 10 | on 'rasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] |
| 11 | |
| 12 | Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340] |
| 13 | Signed-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> |