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>
Dieser Commit ist enthalten in:
Galantsev, Dmitrii
2025-01-10 10:29:15 -06:00
committet von GitHub
Ursprung 0e53160bee
Commit 83f36f1673
+1
Datei anzeigen
@@ -41,6 +41,7 @@ extern "C" {
#else
#include <stddef.h>
#include <stdint.h>
#include <assert.h>
#endif // __cplusplus
/** \file rdc.h