findutils: Add missing header

New version of musl no longer internally includes this header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-08-04 14:47:06 -07:00
parent fca20e2b2f
commit 8ca5cf042d
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
2 changed files with 12 additions and 1 deletions

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=findutils
PKG_VERSION:=4.6.0
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)

View File

@ -0,0 +1,11 @@
--- a/gl/lib/mountlist.c
+++ b/gl/lib/mountlist.c
@@ -33,6 +33,8 @@
#include <unistd.h>
+#include <sys/sysmacros.h>
+
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif