Mesa (master): ac/rgp: add missing include

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 11 10:27:11 UTC 2021


Module: Mesa
Branch: master
Commit: c4427c2b53852785d819a16b7823a3294a6eedfe
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4427c2b53852785d819a16b7823a3294a6eedfe

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Fri Jan  8 10:51:37 2021 +0100

ac/rgp: add missing include

The build would fail without this include if -std=gnu17 is used.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4057
Fixes: ffdfe136e67 ("ac/sqtt: move rgp/sqtt def to ac")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8376>

---

 src/amd/common/ac_sqtt.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/common/ac_sqtt.h b/src/amd/common/ac_sqtt.h
index e993704e1b7..30361bc60ad 100644
--- a/src/amd/common/ac_sqtt.h
+++ b/src/amd/common/ac_sqtt.h
@@ -29,6 +29,7 @@
 #include <stdint.h>
 #include <stdbool.h>
 
+#include <assert.h>
 #include "c11_compat.h"
 
 struct radeon_cmdbuf;



More information about the mesa-commit mailing list