Fix build of v4l-utils when libsysinfo is not installed.

v4l-utils doesn't need this dependency, so just remove
the inclusion of <linux/kernel.h>.

Approved by:	pi (implicit)
This commit is contained in:
Hans Petter Selasky 2020-04-17 14:49:19 +00:00
parent 9e3f770812
commit aa2ce4fb60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531937

View file

@ -102,7 +102,7 @@ post-patch:
-e 's|<linux/compiler.h>|<sys/cdefs.h>|g' \ -e 's|<linux/compiler.h>|<sys/cdefs.h>|g' \
-e 's|<linux/errno.h>|<errno.h>|g' \ -e 's|<linux/errno.h>|<errno.h>|g' \
-e 's|<linux/ioctl.h>|<sys/ioctl.h>|g' \ -e 's|<linux/ioctl.h>|<sys/ioctl.h>|g' \
-e 's|<linux/kernel.h>|<sys/sysinfo.h>|g' \ -e '/^.*\<linux\/kernel.h\>.*/d' \
-e 's|<linux/string.h>|<string.h>|g' \ -e 's|<linux/string.h>|<string.h>|g' \
-e 's|<linux/sysmacros.h>|<sys/types.h>|g' \ -e 's|<linux/sysmacros.h>|<sys/types.h>|g' \
-e 's|<malloc.h>|<stdlib.h>|g' \ -e 's|<malloc.h>|<stdlib.h>|g' \