From: Magnus Jacobsson Date: Tue, 21 Sep 2021 09:18:26 +0000 (+0200) Subject: plugin/core: include gvc/gvc.h in gvrender_core_dot.c X-Git-Tag: 2.49.2~39^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abbb903186acc1a0a9e45fda34914e39b9b651f6;p=graphviz plugin/core: include gvc/gvc.h in gvrender_core_dot.c E.g. attach_attrs used in gvrender_core_dot.c is declared in lib/gvc/gvc.h. Removes this warning (from using CMake with MinGW): C:/Users/magja/graphviz/plugin/core/gvrender_core_dot.c:469:6: warning: implicit declaration of function 'attach_attrs' [-Wimplicit-function-declaration] --- diff --git a/plugin/core/gvrender_core_dot.c b/plugin/core/gvrender_core_dot.c index b1dcde3fe..d3105371d 100644 --- a/plugin/core/gvrender_core_dot.c +++ b/plugin/core/gvrender_core_dot.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #define GNEW(t) malloc(sizeof(t))