[spi-hdlc-adapter] fix compilation on Alpine Linux with musl libc (#2712)

Without linux/ioctl.h compilation fails on this platform,
because _IOC_SIZEBITS will not be defined.
This commit is contained in:
Robrecht Dewaele
2018-05-17 08:53:51 -07:00
committed by Jonathan Hui
parent b76f72e1ac
commit da2af98e2e
@@ -50,6 +50,7 @@
#include <sys/ioctl.h>
#include <sys/file.h>
#include <linux/ioctl.h>
#include <linux/spi/spidev.h>
#if HAVE_EXECINFO_H