From ef24b4171d8a2ce8eb626014301912746fc7cd16 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Mon, 9 Mar 2015 11:23:29 +0000 Subject: [PATCH] At least on NetBSD, sys/errno.h and errno.h are different, so use the correct header to get errno. llvm-svn: 231647 --- compiler-rt/lib/profile/InstrProfilingFile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.7.4