From: Magnus Jacobsson Date: Fri, 27 Aug 2021 10:03:43 +0000 (+0200) Subject: common: add explicit include of pathgeom.h in emit.c X-Git-Tag: 3.0.0~121^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=999b84977a0b672426dd7e468eb8e81f468951fe;p=graphviz common: add explicit include of pathgeom.h in emit.c emit.c explicitly uses e.g. freePath from the public pathgeom.h header file, so even if it gets it implicitly through another header file, including it explicitly is the right thing to do. Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 7a7ae68c2..19bd489ae 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #ifdef _WIN32