Marlin_Firmware/Marlin
Jamie Bainbridge 8c57cadbe7 Include stdlib in fontutils (#11251)
When `REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER` is defined and Re-ARM build is attempted, `u8g_fontutf8.cpp` includes `fontutils.h` which uses `abs()`.

However, `abs()` is defined in `stdlib.h` which is not included in `fontutils.h`, so compile fails with an error.

Include `stdlib.h` in `fontutils.h` so that `abs()` is defined before `u8g_fontutf8.cpp` needs to use it, resolving the compile error.

Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
2018-07-13 00:02:38 -05:00
..
lib Module updates 2017-09-21 16:26:42 -05:00
src Include stdlib in fontutils (#11251) 2018-07-13 00:02:38 -05:00
Configuration_adv.h Add "Marlin Dev Mode" option 2018-07-02 22:55:21 -05:00
Configuration.h Add Z_CLEARANCE_MULTI_PROBE 2018-07-12 22:46:34 -05:00
Makefile Match Makefile to boards.h 2018-04-20 16:13:50 -05:00
Marlin.ino Marlin.ino needs no content (#9506) 2018-02-06 02:28:18 -06:00