From 47d529aac517c7678d39a378e64db97f181214b0 Mon Sep 17 00:00:00 2001
From: Bob-the-Kuhn <bob.kuhn@att.net>
Date: Mon, 19 Feb 2018 17:39:40 -0600
Subject: [PATCH] move #include <U8glib.h>

---
 Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp b/Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp
index bc1e8bc16e..58d99e5941 100644
--- a/Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp
+++ b/Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp
@@ -24,7 +24,6 @@
 // file u8g_dev_st7920_128x64_HAL.cpp for the HAL version.
 
 #include "../../inc/MarlinConfig.h"
-#include <U8glib.h>
 
 #if ENABLED(U8GLIB_ST7920)
 
@@ -41,6 +40,8 @@
 #define LCD_PIXEL_WIDTH 128
 #define LCD_PIXEL_HEIGHT 64
 
+#include <U8glib.h>
+
 //set optimization so ARDUINO optimizes this file
 #pragma GCC optimize (3)