diff options
author | Michael Orlitzky <michael@orlitzky.com> | 2023-08-05 20:36:04 -0400 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2023-08-09 21:15:34 +0100 |
commit | 088329388d215b3476bc3178e3cdc0ffbb0e951a (patch) | |
tree | 4e243e8c860a60f6a53743c529b5d7684212d2a0 | |
parent | 0630606336898622a4a2d7f6a9739cef0d7f6028 (diff) | |
download | libsvgtiny-088329388d215b3476bc3178e3cdc0ffbb0e951a.tar.gz libsvgtiny-088329388d215b3476bc3178e3cdc0ffbb0e951a.tar.bz2 |
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.
-rw-r--r-- | examples/svgtiny_display_x11.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <math.h> #include <stdbool.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> |