From b36f978b243b21166a58929ff4c3c66bba7ed8dd Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 5 Sep 2017 14:36:04 +0200 Subject: build: Nuke #ifdef HAVE_CONFIG_H cargo-cult We have it. Daniel Stone said the #ifdef HAVE_CONFIG_H comes from the X11 transition to the modular build, where in the imake -> modular build transition config.h wasn't universally available. Now we just make this a requirement (so yeah Android better generate one too). v2: Improve commit message a bit. Reviewed-by: Eric Anholt Acked-by: Jani Nikula Acked-by: Arkadiusz Hiler Acked-by: Petri Latvala Acked-by: Daniel Stone Acked-by: Radoslaw Szwichtenberg Signed-off-by: Daniel Vetter --- tools/intel_l3_parity.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/intel_l3_parity.c') diff --git a/tools/intel_l3_parity.c b/tools/intel_l3_parity.c index eb00c50d..26b7caaa 100644 --- a/tools/intel_l3_parity.c +++ b/tools/intel_l3_parity.c @@ -39,9 +39,7 @@ #include "intel_io.h" #include "igt_sysfs.h" #include "drmtest.h" -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_UDEV #include #include -- cgit v1.2.3