summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_rtld.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/common/ac_rtld.h')
-rw-r--r--src/amd/common/ac_rtld.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/amd/common/ac_rtld.h b/src/amd/common/ac_rtld.h
index 2246cf1208a..a4343d9b3ef 100644
--- a/src/amd/common/ac_rtld.h
+++ b/src/amd/common/ac_rtld.h
@@ -31,6 +31,10 @@
#include "util/u_dynarray.h"
#include "compiler/shader_enums.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct ac_rtld_part;
struct ac_shader_config;
struct radeon_info;
@@ -134,4 +138,8 @@ struct ac_rtld_upload_info {
bool ac_rtld_upload(struct ac_rtld_upload_info *u);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* AC_RTLD_H */