]> granicus.if.org Git - graphviz/commitdiff
pack: include gvc/gvc.h in ptest.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 ptest.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/pack/ptest.c

index 98c2a8e7a03a41f0a764422b41e1c3c6f5aba87f..137956ef00f09c54d3f1b319914aaf72693ff486 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <assert.h>
 #include <common/render.h>
+#include <gvc/gvc.h>
 #include <neatogen/neatoprocs.h>
 #include <pack/pack.h>