[compiler-rt] r316821 - [XRay] [compiler-rt] fix build by including errno.h into FDR mode
Martin Pelikan via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 27 18:35:07 PDT 2017
Author: pelikan
Date: Fri Oct 27 18:35:07 2017
New Revision: 316821
URL: http://llvm.org/viewvc/llvm-project?rev=316821&view=rev
Log:
[XRay] [compiler-rt] fix build by including errno.h into FDR mode
The build got broken after D39277 (and rL316816) deleted <cerrno>.
Modified:
compiler-rt/trunk/lib/xray/xray_fdr_logging.cc
Modified: compiler-rt/trunk/lib/xray/xray_fdr_logging.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/xray_fdr_logging.cc?rev=316821&r1=316820&r2=316821&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_fdr_logging.cc (original)
+++ compiler-rt/trunk/lib/xray/xray_fdr_logging.cc Fri Oct 27 18:35:07 2017
@@ -17,6 +17,7 @@
#include "xray_fdr_logging.h"
#include <sys/syscall.h>
#include <sys/time.h>
+#include <errno.h>
#include <time.h>
#include <unistd.h>
More information about the llvm-commits
mailing list