aboutsummaryrefslogtreecommitdiffstats
path: root/community/rpm/include-fcntl.patch
blob: 611b92935e0b7587183024e7a92a32a7154a3818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Upstream: Yes, https://github.com/rpm-software-management/rpm/pull/1379
Reason: Fixes compilation with musl

diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index 4c10156..7318763 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -8,6 +8,7 @@
 #include <utime.h>
 #include <errno.h>
 #include <dirent.h>
+#include <fcntl.h>
 
 #ifndef	DYING	/* XXX already in "system.h" */
 #include <fnmatch.h>