diff --git a/pcbnew/pcb_marker.cpp b/pcbnew/pcb_marker.cpp
index 42e4bea5dd..e8ab4ea8de 100644
--- a/pcbnew/pcb_marker.cpp
+++ b/pcbnew/pcb_marker.cpp
@@ -25,7 +25,7 @@
 
 #include <bitmaps.h>
 #include <base_units.h>
-#include <pcb_base_frame.h>
+#include <eda_draw_frame.h>
 #include <board.h>
 #include <pcb_marker.h>
 #include <layers_id_colors_and_visibility.h>