diff --git a/keyboards/fc660c/matrix.c b/keyboards/fc660c/matrix.c
index e6e4948104..40d606f572 100644
--- a/keyboards/fc660c/matrix.c
+++ b/keyboards/fc660c/matrix.c
@@ -28,6 +28,7 @@ along with this program. If not, see .
#include "timer.h"
#include "matrix.h"
#include "led.h"
+#include "avr/timer_avr.h"
// Timer resolution check
#if (1000000/TIMER_RAW_FREQ > 20)
diff --git a/keyboards/fc980c/matrix.c b/keyboards/fc980c/matrix.c
index 1126f3047a..6cdd9cf42e 100644
--- a/keyboards/fc980c/matrix.c
+++ b/keyboards/fc980c/matrix.c
@@ -28,6 +28,7 @@ along with this program. If not, see .
#include "timer.h"
#include "matrix.h"
#include "led.h"
+#include "avr/timer_avr.h"
// #include QMK_KEYBOARD_H
diff --git a/keyboards/hhkb/ansi/matrix.c b/keyboards/hhkb/ansi/matrix.c
index 879eb337cf..529ba8b8fc 100644
--- a/keyboards/hhkb/ansi/matrix.c
+++ b/keyboards/hhkb/ansi/matrix.c
@@ -26,6 +26,7 @@ along with this program. If not, see .
#include "util.h"
#include "timer.h"
#include "matrix.h"
+#include "avr/timer_avr.h"
#include "hhkb_avr.h"
#include
#include "suspend.h"
diff --git a/keyboards/hhkb/jp/matrix.c b/keyboards/hhkb/jp/matrix.c
index fed2b3c3a9..c0dca6a990 100644
--- a/keyboards/hhkb/jp/matrix.c
+++ b/keyboards/hhkb/jp/matrix.c
@@ -26,6 +26,7 @@ along with this program. If not, see .
#include "util.h"
#include "timer.h"
#include "matrix.h"
+#include "avr/timer_avr.h"
#include "hhkb_avr.h"
#include
#include "suspend.h"