summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2022-06-06 16:14:32 -0700
committerJordan Justen <jordan.l.justen@intel.com>2022-06-06 23:52:30 -0700
commite1a82ca6de97b8c37301ddcd268a31fd3fcbf5ab (patch)
tree5f1fdcdbde95b8db408edfd608e147ebae03285c
parentad8f9d5d583429755617565c10a8c63da6a94f73 (diff)
intel: Fix build of mi_builder_tests by including c99_compat.hc99-mi_builder_test
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 <jordan.l.justen@intel.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com>
-rw-r--r--src/intel/common/tests/mi_builder_test.cpp1
1 files changed, 1 insertions, 0 deletions
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 <gtest/gtest.h>
+#include "c99_compat.h"
#include "dev/intel_device_info.h"
#include "drm-uapi/i915_drm.h"
#include "genxml/gen_macros.h"