[compiler-rt] r290343 - [compiler-rt] Add missing includes of <errno.h> and <iterator>

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 07:31:21 PST 2016


Author: kparzysz
Date: Thu Dec 22 09:31:21 2016
New Revision: 290343

URL: http://llvm.org/viewvc/llvm-project?rev=290343&view=rev
Log:
[compiler-rt] Add missing includes of <errno.h> and <iterator>

The compilation failed due to undeclared identifiers: distance, errno,
and EINTR.

Modified:
    compiler-rt/trunk/lib/xray/xray_x86_64.cc

Modified: compiler-rt/trunk/lib/xray/xray_x86_64.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/xray_x86_64.cc?rev=290343&r1=290342&r2=290343&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_x86_64.cc (original)
+++ compiler-rt/trunk/lib/xray/xray_x86_64.cc Thu Dec 22 09:31:21 2016
@@ -3,7 +3,9 @@
 #include "xray_interface_internal.h"
 #include <atomic>
 #include <cstdint>
+#include <errno.h>
 #include <fcntl.h>
+#include <iterator>
 #include <limits>
 #include <tuple>
 #include <unistd.h>




More information about the llvm-commits mailing list