summaryrefslogtreecommitdiff
path: root/system/findutils/sysmacros.patch
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-08-05 01:18:29 +0000
committerSamuel Holland <samuel@sholland.org>2019-08-05 01:18:29 +0000
commit6f02c28c6bb7366615dd989bddb25234e12332c1 (patch)
tree5faa15e0b207d94cda6bd78daaa5b8687ee82a27 /system/findutils/sysmacros.patch
parentafd97aad8dc1b39b6f4aa3be2adaef229aebf71e (diff)
downloadpackages-6f02c28c6bb7366615dd989bddb25234e12332c1.tar.gz
packages-6f02c28c6bb7366615dd989bddb25234e12332c1.tar.bz2
packages-6f02c28c6bb7366615dd989bddb25234e12332c1.tar.xz
packages-6f02c28c6bb7366615dd989bddb25234e12332c1.zip
system/findutils: Fix build for major/minor move
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'system/findutils/sysmacros.patch')
-rw-r--r--system/findutils/sysmacros.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/findutils/sysmacros.patch b/system/findutils/sysmacros.patch
new file mode 100644
index 000000000..40fe2170f
--- /dev/null
+++ b/system/findutils/sysmacros.patch
@@ -0,0 +1,10 @@
+--- findutils-4.6.0/gl/lib/mountlist.c
++++ findutils-4.6.0/gl/lib/mountlist.c
+@@ -32,6 +32,7 @@
+ #include <fcntl.h>
+
+ #include <unistd.h>
++#include <sys/sysmacros.h>
+
+ #if HAVE_SYS_PARAM_H
+ # include <sys/param.h>