]> granicus.if.org Git - graphviz/commitdiff
common: add explicit include of pathgeom.h in emit.c
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Fri, 27 Aug 2021 10:03:43 +0000 (12:03 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 19 Dec 2021 20:21:43 +0000 (21:21 +0100)
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.

lib/common/emit.c

index 7a7ae68c2c9eb0e55fd7cc011577ae3fb73dab78..19bd489ae4ea0dabb0194fe97bcc98a5ada719b1 100644 (file)
@@ -24,6 +24,7 @@
 #include <common/htmltable.h>
 #include <gvc/gvc.h>
 #include <cdt/cdt.h>
+#include <pathplan/pathgeom.h>
 #include <xdot/xdot.h>
 
 #ifdef _WIN32