From: Magnus Jacobsson Date: Sat, 25 Dec 2021 14:46:02 +0000 (+0100) Subject: common: include types.h instead of render.h in timing.c X-Git-Tag: 3.0.0~110^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8f0129ea8211c3c3918d2440ef174250d760096;p=graphviz common: include types.h instead of render.h in timing.c This file does not explicitly need either of thoses files, but it includes utils.h that needs types.h. It is better to include this file directly rather transitively through render.h. Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- diff --git a/lib/common/timing.c b/lib/common/timing.c index 49d6e5f1e..835324f72 100644 --- a/lib/common/timing.c +++ b/lib/common/timing.c @@ -27,7 +27,7 @@ typedef struct tms mytime_t; #else #include -#include +#include #include typedef clock_t mytime_t;