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 <harkgill@amd.com>

[ROCm/rdc commit: 83f36f1673]
此提交包含在:
Galantsev, Dmitrii和harkgill-amd authored and GitHub committed 2025-01-10 11:29:15 -05:00
1 父節點 8a698a7e23
當前提交 78f37c1784
1 file changed
+1
+1
查看文件
@@ -41,6 +41,7 @@ extern "C" {
#else
#include <stddef.h>
#include <stdint.h>
#include <assert.h>
#endif // __cplusplus
/** \file rdc.h