From: Magnus Jacobsson Date: Sun, 20 Feb 2022 10:10:04 +0000 (+0100) Subject: gvc++: include "AGraph.h" instead of in GVLayout.h X-Git-Tag: 3.0.0~14^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8059d2b58e8b58ae58a469f5107753364d6db35d;p=graphviz gvc++: include "AGraph.h" instead of in GVLayout.h This makes it possible to use GVLayout.h from the install directory without the need to specify both "include" and "include/graphviz" as include directories to the compiler. Fixes https://gitlab.com/graphviz/graphviz/-/issues/2196. --- diff --git a/lib/gvc++/GVLayout.h b/lib/gvc++/GVLayout.h index aee993596..f9b84b4d5 100644 --- a/lib/gvc++/GVLayout.h +++ b/lib/gvc++/GVLayout.h @@ -4,7 +4,7 @@ #include "GVContext.h" #include "GVRenderData.h" -#include +#include "AGraph.h" #ifdef GVDLL #if gvc___EXPORTS // CMake's substitution of gvc++_EXPORTS