diff --git a/common/exports.c b/common/exports.c
index 717e4afe6d877eca2f5c62e5bcd145cac97f9537..b97ca48307dcba1493d9426bde8e6f706d8fa1ed 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -1,5 +1,6 @@
 #include <common.h>
 #include <exports.h>
+#include <spi.h>
 
 DECLARE_GLOBAL_DATA_PTR;