mirror of
https://github.com/espressif/openthread.git
synced 2026-07-31 16:17:47 +00:00
[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:
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
|
||||
|
||||
Reference in New Issue
Block a user