summaryrefslogtreecommitdiff
path: root/lib/xray/xray_x86_64.cc
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-12-22 15:31:21 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-12-22 15:31:21 +0000
commit04c9e43fb71553ef2226ece3755df780eba11f7f (patch)
tree761ff3db049594840b8a7e9d3072a441ff3bb30e /lib/xray/xray_x86_64.cc
parentf1243a1c875486f74130b22a8d5a3778d92427d0 (diff)
[compiler-rt] Add missing includes of <errno.h> and <iterator>
The compilation failed due to undeclared identifiers: distance, errno, and EINTR. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@290343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/xray/xray_x86_64.cc')
-rw-r--r--lib/xray/xray_x86_64.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xray/xray_x86_64.cc b/lib/xray/xray_x86_64.cc
index 74bd9cfd9..3ee91896c 100644
--- a/lib/xray/xray_x86_64.cc
+++ b/lib/xray/xray_x86_64.cc
@@ -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>