]> granicus.if.org Git - graphviz/commit
common: include config.h in colorprocs.h to get GVDLL in autotools builds
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 11 Dec 2021 14:57:39 +0000 (15:57 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 28 Dec 2021 22:19:26 +0000 (23:19 +0100)
commit09d6ecf93b3d882df40b8b8106be2f0cf9b26347
treec244be58f5db63f6b71224051b0cbc72206a5fad
parent7fa9d17047b3cafc0dd629f6d7a09bfdc6f57318
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.
lib/common/colorprocs.h