From 520e51d95133736c1773b0ecbe56593e8bb86aa9 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 25 Jan 2017 14:20:30 +0000 Subject: [compiler-rt] Fix xray compilation errors: errno and size_t Include errno.h, and use size_t instead of std::size_t, since stddef.h was included (and not cstddef). llvm-svn: 293057 --- compiler-rt/lib/xray/xray_utils.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler-rt/lib/xray/xray_utils.cc') diff --git a/compiler-rt/lib/xray/xray_utils.cc b/compiler-rt/lib/xray/xray_utils.cc index 3170379c886..02118c4f4b8 100644 --- a/compiler-rt/lib/xray/xray_utils.cc +++ b/compiler-rt/lib/xray/xray_utils.cc @@ -16,6 +16,7 @@ #include "xray_defs.h" #include "xray_flags.h" #include +#include #include #include #include -- cgit v1.2.3