From 8381f64251d2cf79a8b65a600264dcfba6d1fa9b Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 6 Jun 2022 16:14:32 -0700 Subject: [PATCH] intel: Fix build of mi_builder_tests by including c99_compat.h We need this so C++ will understand "restrict" which is used in the genxml output. Fixes: 9f717b5f23c ("util: remove needless c99_compat.h includes") Signed-off-by: Jordan Justen Acked-by: Jason Ekstrand Part-of: --- src/intel/common/tests/mi_builder_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/common/tests/mi_builder_test.cpp b/src/intel/common/tests/mi_builder_test.cpp index 343ecb628ce..4d0f868da6d 100644 --- a/src/intel/common/tests/mi_builder_test.cpp +++ b/src/intel/common/tests/mi_builder_test.cpp @@ -27,6 +27,7 @@ #include +#include "c99_compat.h" #include "dev/intel_device_info.h" #include "drm-uapi/i915_drm.h" #include "genxml/gen_macros.h"