From: Magnus Jacobsson Date: Sat, 11 Dec 2021 14:57:39 +0000 (+0100) Subject: common: include config.h in colorprocs.h to get GVDLL in autotools builds X-Git-Tag: 3.0.0~99^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09d6ecf93b3d882df40b8b8106be2f0cf9b26347;p=graphviz common: include config.h in colorprocs.h to get GVDLL in autotools builds An upcoming commit that corrects the storage-class attribute declarations in colorprocs.h would otherwise cause this error: /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: ../../lib/sparse/.libs/libsparse_C.a(DotIO.o): in function `Import_coord_clusters_from_dot': /home/magja/graphviz/lib/sparse/DotIO.c:577: undefined reference to `colorxlate' Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- diff --git a/lib/common/colorprocs.h b/lib/common/colorprocs.h index 598950669..fcf959928 100644 --- a/lib/common/colorprocs.h +++ b/lib/common/colorprocs.h @@ -10,6 +10,8 @@ #pragma once +#include "config.h" + #include "color.h" #ifdef __cplusplus