From 78f37c17842df0033535e8ea570f9c8e5142c9c8 Mon Sep 17 00:00:00 2001 From: "Galantsev, Dmitrii" Date: Fri, 10 Jan 2025 10:29:15 -0600 Subject: [PATCH] Include assert.h during C compilation (#4) Fix for https://github.com/ROCm/ROCm/issues/3997. When compiling a C program that includes rdc/rdc.h, multiple assertion errors are thrown without this header included. Change-Id: Ie5b5c1a1a17c8207cf9b1be23b31193e260d5c1a Co-authored-by: harkgill-amd [ROCm/rdc commit: 83f36f1673e9662da3f4387dd0678e20aacd3346] --- projects/rdc/include/rdc/rdc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rdc/include/rdc/rdc.h b/projects/rdc/include/rdc/rdc.h index 6ab4e7cd69..d9d2a6f834 100644 --- a/projects/rdc/include/rdc/rdc.h +++ b/projects/rdc/include/rdc/rdc.h @@ -41,6 +41,7 @@ extern "C" { #else #include #include +#include #endif // __cplusplus /** \file rdc.h