From f30a5dea7939ed9471f0b89e4b714211e64354f3 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Thu, 15 Dec 2011 12:23:26 -0800 Subject: [PATCH] Linux build fixes --- ispc.cpp | 2 +- ispc.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ispc.cpp b/ispc.cpp index a90a1baf..8bfc9a9d 100644 --- a/ispc.cpp +++ b/ispc.cpp @@ -217,7 +217,7 @@ Target::SupportedTargetISAs() { return "sse2, sse2-x2, sse4, sse4-x2" #ifndef LLVM_2_9 ", avx, avx-x2" -#endif !LLVM_2_9 +#endif // !LLVM_2_9 #ifdef LLVM_3_1svn ", avx2, avx2-x2" #endif // LLVM_3_1svn diff --git a/ispc.h b/ispc.h index 7211ff93..6eb2cdd9 100644 --- a/ispc.h +++ b/ispc.h @@ -52,6 +52,7 @@ #include #include +#include #include #include