diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2015-03-09 11:23:29 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2015-03-09 11:23:29 +0000 |
commit | ef24b4171d8a2ce8eb626014301912746fc7cd16 (patch) | |
tree | c7b5161b8effb7b79db75a8c7c33c2f4d61c7125 /compiler-rt | |
parent | b9a144357648dc2d4cd2e14ee4dc349d914a666a (diff) | |
download | bcm5719-llvm-ef24b4171d8a2ce8eb626014301912746fc7cd16.tar.gz bcm5719-llvm-ef24b4171d8a2ce8eb626014301912746fc7cd16.zip |
At least on NetBSD, sys/errno.h and errno.h are different, so use the
correct header to get errno.
llvm-svn: 231647
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/lib/profile/InstrProfilingFile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c index daa309427d1..d9acbbeb1a5 100644 --- a/compiler-rt/lib/profile/InstrProfilingFile.c +++ b/compiler-rt/lib/profile/InstrProfilingFile.c @@ -8,10 +8,10 @@ \*===----------------------------------------------------------------------===*/ #include "InstrProfiling.h" +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <sys/errno.h> #define UNCONST(ptr) ((void *)(uintptr_t)(ptr)) |