--- linux_spi.c.orig +++ linux_spi.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include --- linux_spi.c.orig +++ linux_spi.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include #include --- hwaccess.h.orig +++ hwaccess.h @@ -25,9 +25,7 @@ #define __HWACCESS_H__ 1 #if IS_X86 -#if defined(__GLIBC__) #include -#endif #endif #if NEED_PCI == 1