From: Matthew Fernandez Date: Sat, 15 Aug 2020 21:04:28 +0000 (-0700) Subject: fix: use of size_t in agxbuf.h with no definition X-Git-Tag: 2.46.0~20^2^2~117^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60de2664174bc5d6ab4c8831b3318189e3889e00;p=graphviz fix: use of size_t in agxbuf.h with no definition This worked so far because files #including this always included something else that brought in stddef.h prior to #including agxbuf.h --- diff --git a/lib/cgraph/agxbuf.h b/lib/cgraph/agxbuf.h index 6a7bada96..deb2e8e9f 100644 --- a/lib/cgraph/agxbuf.h +++ b/lib/cgraph/agxbuf.h @@ -18,6 +18,8 @@ extern "C" { #ifndef AGXBUF_H #define AGXBUF_H +#include + #ifdef _WIN32 # ifdef EXPORT_AGXBUF # define AGXBUF_API __declspec(dllexport)