diff options
Diffstat (limited to 'user/rpm/include-fcntl.patch')
-rw-r--r-- | user/rpm/include-fcntl.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/user/rpm/include-fcntl.patch b/user/rpm/include-fcntl.patch new file mode 100644 index 000000000..611b92935 --- /dev/null +++ b/user/rpm/include-fcntl.patch @@ -0,0 +1,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> |