diff --git a/spi.c b/spi.c index 894f73f60..c306ac351 100644 --- a/spi.c +++ b/spi.c @@ -22,6 +22,8 @@ * Contains the generic SPI framework */ +#define _XOPEN_SOURCE 700 /* for ffs() */ + #include #include #include "flash.h"