From e070ce987f6d5488316b497bb3946b68e8fceac6 Mon Sep 17 00:00:00 2001 From: InsanityAutomation Date: Sun, 11 Oct 2020 09:51:37 -0400 Subject: [PATCH] Update G34_M422.cpp --- Marlin/src/gcode/calibrate/G34_M422.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/src/gcode/calibrate/G34_M422.cpp b/Marlin/src/gcode/calibrate/G34_M422.cpp index 5bf3c00e98..f0d7597c63 100644 --- a/Marlin/src/gcode/calibrate/G34_M422.cpp +++ b/Marlin/src/gcode/calibrate/G34_M422.cpp @@ -53,6 +53,10 @@ #include "../../feature/z_stepper_align.h" +#if HAS_MULTI_HOTEND + #include "../../module/tool_change.h" +#endif + #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS) #include "../../libs/least_squares_fit.h" #endif