From: Michael Orlitzky Date: Sun, 6 Aug 2023 00:36:04 +0000 (-0400) Subject: examples/svgtiny_display_x11.c: add missing stdlib.h include X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=088329388d215b3476bc3178e3cdc0ffbb0e951a;p=libsvgtiny.git examples/svgtiny_display_x11.c: add missing stdlib.h include This file uses malloc(), free(), and exit() -- all of which are defined in stdlib.h. GCC seems unhappy about the situation, so we now include it. This allows the file to be compiled once again. --- diff --git a/examples/svgtiny_display_x11.c b/examples/svgtiny_display_x11.c index c8bafd5..6758bef 100644 --- a/examples/svgtiny_display_x11.c +++ b/examples/svgtiny_display_x11.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include