summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/xray/xray_fdr_logging.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/xray/xray_fdr_logging.cc b/compiler-rt/lib/xray/xray_fdr_logging.cc
index 5c6bbd41cfc..c5b63b0a564 100644
--- a/compiler-rt/lib/xray/xray_fdr_logging.cc
+++ b/compiler-rt/lib/xray/xray_fdr_logging.cc
@@ -17,6 +17,7 @@
#include "xray_fdr_logging.h"
#include <algorithm>
#include <bitset>
+#include <cerrno>
#include <cstring>
#include <sys/syscall.h>
#include <sys/time.h>
OpenPOWER on IntegriCloud