From: Joerg Sonnenberger Date: Mon, 9 Mar 2015 11:23:29 +0000 (+0000) Subject: At least on NetBSD, sys/errno.h and errno.h are different, so use the X-Git-Tag: llvmorg-3.7.0-rc1~9803 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef24b4171d8a2ce8eb626014301912746fc7cd16;p=platform%2Fupstream%2Fllvm.git At least on NetBSD, sys/errno.h and errno.h are different, so use the correct header to get errno. llvm-svn: 231647 --- diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c index daa3094..d9acbbe 100644 --- a/compiler-rt/lib/profile/InstrProfilingFile.c +++ b/compiler-rt/lib/profile/InstrProfilingFile.c @@ -8,10 +8,10 @@ \*===----------------------------------------------------------------------===*/ #include "InstrProfiling.h" +#include #include #include #include -#include #define UNCONST(ptr) ((void *)(uintptr_t)(ptr))