owfs: fix build with glibc 2.28
authorBaruch Siach <baruch@tkos.co.il>
Fri, 14 Sep 2018 04:41:16 +0000 (07:41 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 14 Sep 2018 20:16:38 +0000 (22:16 +0200)
commit3582115d1d281e78ba69763d4d01be03c032698e
tree09ba0b110c500ec2d4c880e0210377bc9c8bb7fe
parent45076af4930fda83c8898254de2d7c5fe3c15911
owfs: fix build with glibc 2.28

Add upstream patch adding the necessary header for the major() macro.

Fixes:
http://autobuild.buildroot.net/results/53d/53d8832b11f8d63000c2d09ec6fd97048b7883dc/
http://autobuild.buildroot.net/results/90d/90dfdb982ae67f8c4d4923eb8a5495ccb919f6c6/

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/owfs/0002-include-sys-sysmacros.h-for-major.patch [new file with mode: 0644]