]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
wiringpi: fix musl compile
authorPeter Seiderer <ps.report@gmx.net>
Thu, 9 Jun 2016 19:05:25 +0000 (21:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 9 Jun 2016 19:57:39 +0000 (21:57 +0200)
commitd146e00f7d67bd8ddb8baf0771dd63ca997fa164
tree50b59aa866f47f87d045163c7f68ece5307500e5
parentcd48a7e572a659b57d711d982582dc7d36ab5052
wiringpi: fix musl compile

Fixes [1]:

  wiringPiSPI.c:89:35: error: '_IOC_SIZEBITS' undeclared (first use in this function)

Patch from yocto meta-raspberrypi [2] adding include of asm/ioctl.h.

[1] http://autobuild.buildroot.net/results/e9d/e9d680af7eea6d6c68c8e48248b5cc5b29389baa
[2] https://github.com/agherzan/meta-raspberrypi/blob/master/recipes-devtools/wiringPi/wiringpi/0001-include-asm-ioctl.h-directly-for-_IOC_SIZEBITS.patch

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/wiringpi/0002-include-asm-ioctl.h-directly-for-_IOC_SIZEBITS.patch [new file with mode: 0644]