summaryrefslogtreecommitdiff
path: root/src/drivers/spi/spi-generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/spi-generic.c')
-rw-r--r--src/drivers/spi/spi-generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/spi/spi-generic.c b/src/drivers/spi/spi-generic.c
index 28402182dd..05bfb82bf8 100644
--- a/src/drivers/spi/spi-generic.c
+++ b/src/drivers/spi/spi-generic.c
@@ -14,6 +14,8 @@
#include <assert.h>
#include <spi-generic.h>
+#include <stddef.h>
+#include <stdlib.h>
#include <string.h>
int spi_claim_bus(const struct spi_slave *slave)