diff --git a/drivers/periph_common/eeprom.c b/drivers/periph_common/eeprom.c
index f04c7af866ca9d0b4ce0e2e6a7503b59ed009d91..acd4f1b4c3bfcd6eee440fc484b36e1012dd3a03 100644
--- a/drivers/periph_common/eeprom.c
+++ b/drivers/periph_common/eeprom.c
@@ -19,7 +19,9 @@
  */
 
 #include <string.h>
+
 #include "cpu.h"
+#include "periph_cpu.h"
 #include "assert.h"
 
 /* guard this file, must be done before including periph/eeprom.h */