diff --git a/Marlin/src/lcd/dogm/lcdprint_u8g.cpp b/Marlin/src/lcd/dogm/lcdprint_u8g.cpp index cb09a146f..d46eb8590 100644 --- a/Marlin/src/lcd/dogm/lcdprint_u8g.cpp +++ b/Marlin/src/lcd/dogm/lcdprint_u8g.cpp @@ -11,8 +11,7 @@ #if HAS_GRAPHICAL_LCD -#include -extern U8GLIB u8g; +#include "ultralcd_DOGM.h" #include "../ultralcd.h" #include "../../Marlin.h"