From b85eb92da8ce36bd223bdf6613f81fa803dcf156 Mon Sep 17 00:00:00 2001 From: "Ding, Wei (xN/A) TX" Date: Tue, 24 Mar 2015 12:05:32 -0500 Subject: [PATCH] ECR #333755 - Fixed a linux compilation issue. [git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133846] [ROCm/ROCR-Runtime commit: 04f5ef2fd81d42437e337048fc4f4c412e3776f8] --- .../rocr-runtime/samples/common/hsatimer.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/projects/rocr-runtime/samples/common/hsatimer.h b/projects/rocr-runtime/samples/common/hsatimer.h index b37f46c623..be6e177ab2 100644 --- a/projects/rocr-runtime/samples/common/hsatimer.h +++ b/projects/rocr-runtime/samples/common/hsatimer.h @@ -16,15 +16,15 @@ using namespace std; #if defined(__GNUC__) -#include -#include -#endif - -#if defined(_MSC_VER) -#include -#include -#include -#endif + #include + #include +#else + #if defined(_MSC_VER) + #include + #include + #include + #endif // _MSC_VER +#endif // __GNUC__ #define HSA_FAILURE 1 #define HSA_SUCCESS 0