I am a newbie. Currently, I am using the terminal on MAC to compile a C code. I encountered the following errors:
fatal error: 'linux/spi/spidev.h' file not found
Maybe spidev was not installed on my laptop. I am using an Allwinner board. Can anybody help me solve this error? Sorry for my simple question. Is there any way to install spidev (C code) for MAC?"