Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 1 | From b2e67642fd8cb64d8cb1cca9e759396c1c10807d Mon Sep 17 00:00:00 2001 |
| 2 | From: Calvin Buckley <calvin@cmpct.info> |
| 3 | Date: Tue, 11 Jul 2023 19:22:41 -0300 |
| 4 | Subject: [PATCH] Fix missing basename include on macOS |
| 5 | |
| 6 | Upstream-Status: Backport [https://github.com/rpm-software-management/rpm/commit/b2e67642fd8cb64d8cb1cca9e759396c1c10807d] |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | tools/rpmuncompress.c | 1 + |
| 10 | 1 file changed, 1 insertion(+) |
| 11 | |
| 12 | diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c |
| 13 | index bd4146d54..58ddf5683 100644 |
| 14 | --- a/tools/rpmuncompress.c |
| 15 | +++ b/tools/rpmuncompress.c |
| 16 | @@ -1,6 +1,7 @@ |
| 17 | #include "system.h" |
| 18 | |
| 19 | #include <popt.h> |
| 20 | +#include <libgen.h> |
| 21 | #include <errno.h> |
| 22 | #include <stdio.h> |
| 23 | #include <string.h> |
| 24 | -- |
| 25 | 2.43.0 |
| 26 | |