From: Magnus Jacobsson Date: Sun, 20 Feb 2022 10:03:43 +0000 (+0100) Subject: cgraph++: include "cgraph.h" instead of in AGraph.h X-Git-Tag: 3.0.0~14^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5d59fa709517894f250191c02705cd2451f31b9;p=graphviz cgraph++: include "cgraph.h" instead of in AGraph.h This makes it possible to use AGraph.h from the install directory without the need to specify both "include" and "include/graphviz" as include directories to the compiler. Towards https://gitlab.com/graphviz/graphviz/-/issues/2196. --- diff --git a/lib/cgraph++/AGraph.h b/lib/cgraph++/AGraph.h index 03eb11654..43439098a 100644 --- a/lib/cgraph++/AGraph.h +++ b/lib/cgraph++/AGraph.h @@ -3,7 +3,7 @@ #include #include -#include +#include "cgraph.h" #ifdef GVDLL #if cgraph___EXPORTS // CMake's substitution of cgraph++_EXPORTS