From 17474d2b5868173acfa2144a3220ded0769d459f Mon Sep 17 00:00:00 2001 From: Evgeny Date: Mon, 22 Apr 2019 21:14:18 -0500 Subject: [PATCH] hip_prof_api.h include under __cplusplus [ROCm/hip commit: af3f3ccb2b4fc4b519dcdd363f295a26962a5ac3] --- projects/hip/include/hip/hcc_detail/hip_runtime_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/include/hip/hcc_detail/hip_runtime_api.h b/projects/hip/include/hip/hcc_detail/hip_runtime_api.h index ccfe7aefc3..bfc9938171 100644 --- a/projects/hip/include/hip/hcc_detail/hip_runtime_api.h +++ b/projects/hip/include/hip/hcc_detail/hip_runtime_api.h @@ -2966,7 +2966,9 @@ hipError_t hipLaunchByPtr(const void* func); } /* extern "c" */ #endif +#ifdef __cplusplus #include +#endif #ifdef __cplusplus extern "C" {