]> granicus.if.org Git - graphviz/commitdiff
common: include gvc/gvc.h in output.c
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 21 Sep 2021 09:18:26 +0000 (11:18 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 26 Sep 2021 06:36:51 +0000 (08:36 +0200)
E.g. attach_attrs used in output.c is declared in lib/gvc/gvc.h.

This change is not strictly necessary since gvc/gvc.h is indirectly
included through common/render.h anyway, but a direct inclusion is
clearer and will avoid confusion when an upcoming commit removes a
duplicated declaration of attach_attrs from utils.h.

lib/common/output.c

index 71c7bc7b682db7a2f1ad2763efc79a44526adc27..1174b9ea24b44f8019e98d79e39f9a14e9b3312d 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <common/render.h>
 #include <cgraph/agxbuf.h>
+#include <gvc/gvc.h>
 #include <stdarg.h>
 #include <string.h>