Skip to content

Commit 6ea21db

Browse files
committed
fix MUSL build issue
Without <linux/ioctl.h> include compiler cannot find _IOC_SIZEBITS macro, when using MUSL C library Fixes: http://autobuild.buildroot.net/results/62ec0d348153dff0efd4c1975a9198c17f01f1fa Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
1 parent 831988e commit 6ea21db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hardware/PiFace.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <string.h>
3939
#include <string>
4040
#ifdef __arm__
41+
#include <linux/ioctl.h>
4142
#include <linux/types.h>
4243
#include <linux/spi/spidev.h>
4344
#include <unistd.h>

0 commit comments

Comments
 (0)