diff --git a/eeschema/tools/ee_actions.cpp b/eeschema/tools/ee_actions.cpp index ec62cae6c5..ebb89fd34a 100644 --- a/eeschema/tools/ee_actions.cpp +++ b/eeschema/tools/ee_actions.cpp @@ -25,14 +25,11 @@ #include #include #include +#include #include #include #include - -// Forward-define of parameter types -class SCH_BITMAP; - // Actions, being statically-defined, require specialized I18N handling. We continue to // use the _() macro so that string harvesting by the I18N framework doesn't have to be // specialized, but we don't translate on initialization and instead do it in the getters. diff --git a/pcbnew/tools/pcb_actions.cpp b/pcbnew/tools/pcb_actions.cpp index f69a94857d..3ab4ef315b 100644 --- a/pcbnew/tools/pcb_actions.cpp +++ b/pcbnew/tools/pcb_actions.cpp @@ -30,14 +30,12 @@ #include #include #include +#include #include #include #include #include -// Forward declarations for types needed in the parameters -class PCB_REFERENCE_IMAGE; - // Actions, being statically-defined, require specialized I18N handling. We continue to // use the _() macro so that string harvesting by the I18N framework doesn't have to be // specialized, but we don't translate on initialization and instead do it in the getters.