blob: c7ae158f8d6ae22f77e16426cc8889d36e8fff12 [file] [log] [blame]
Andrew Geissler706d5aa2021-02-12 15:55:30 -06001From 9de15c7e1f4ca23a10edb9a3b657f06b2b13e841 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 20 Oct 2020 22:16:39 +0200
4Subject: [PATCH] rpmdb.c: add a missing include
5
6This addressed build failures on non-glibc systems.
7
8Upstream-Status: Backport
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 lib/rpmdb.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/lib/rpmdb.c b/lib/rpmdb.c
15index 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>