From bd138412579e9a7c251ea8f2f1bb2cdb3d0bf95b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 1 May 2021 17:05:29 +0100 Subject: Drop the conditional inclusion of config.h We *always* generate this file, and we depend on its existence. The idea behind HAVE_CONFIG_H was being able to include random files from different projects, back in a time where "libraries" were literally just random files instead of actual shared objects. Since we're not in the '80s any more, and our build system(s) define HAVE_CONFIG_H *and* generate the config.h header file, we don't need a conditional guard around its inclusion. --- perf/cairo-perf-print.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'perf') diff --git a/perf/cairo-perf-print.c b/perf/cairo-perf-print.c index d7ae1311e..ab1440f55 100644 --- a/perf/cairo-perf-print.c +++ b/perf/cairo-perf-print.c @@ -27,9 +27,7 @@ * Chris Wilson */ -#if HAVE_CONFIG_H #include "config.h" -#endif #include "cairo-perf.h" #include "cairo-stats.h" -- cgit v1.2.1