From 09d6ecf93b3d882df40b8b8106be2f0cf9b26347 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 11 Dec 2021 15:57:39 +0100 Subject: [PATCH] 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 | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0