From fedb0fd907ec39329217af5a89b49f431f9f02be Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Sun, 15 May 2016 04:26:17 +0000 Subject: [PATCH] Fix FreeBSD build failure llvm-svn: 269587 --- compiler-rt/lib/profile/InstrProfilingWriter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/lib/profile/InstrProfilingWriter.c b/compiler-rt/lib/profile/InstrProfilingWriter.c index 30c1b785c72d..da0b58df0821 100644 --- a/compiler-rt/lib/profile/InstrProfilingWriter.c +++ b/compiler-rt/lib/profile/InstrProfilingWriter.c @@ -11,6 +11,8 @@ #include "InstrProfilingInternal.h" #ifdef _MSC_VER #include +#elif defined(__FreeBSD__) +#include #else #include #endif