Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 1 | From 9de15c7e1f4ca23a10edb9a3b657f06b2b13e841 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Tue, 20 Oct 2020 22:16:39 +0200 |
| 4 | Subject: [PATCH] rpmdb.c: add a missing include |
| 5 | |
| 6 | This addressed build failures on non-glibc systems. |
| 7 | |
| 8 | Upstream-Status: Backport |
| 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 10 | --- |
| 11 | lib/rpmdb.c | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
| 14 | diff --git a/lib/rpmdb.c b/lib/rpmdb.c |
| 15 | index 4c101569f..73187630b 100644 |
| 16 | --- a/lib/rpmdb.c |
| 17 | +++ b/lib/rpmdb.c |
| 18 | @@ -8,6 +8,7 @@ |
| 19 | #include <utime.h> |
| 20 | #include <errno.h> |
| 21 | #include <dirent.h> |
| 22 | +#include <fcntl.h> |
| 23 | |
| 24 | #ifndef DYING /* XXX already in "system.h" */ |
| 25 | #include <fnmatch.h> |