From abbb903186acc1a0a9e45fda34914e39b9b651f6 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Tue, 21 Sep 2021 11:18:26 +0200 Subject: [PATCH] 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] --- plugin/core/gvrender_core_dot.c | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.40.0