summaryrefslogtreecommitdiff
path: root/lib/xray/xray_fdr_logging.h
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2017-01-25 14:20:30 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2017-01-25 14:20:30 +0000
commitc636e2e512d89fba8a2ef593377316fd24fcc158 (patch)
treee934902611327ca34bf5b8dee539e983240bdb6e /lib/xray/xray_fdr_logging.h
parent86251c46cc60b40b7d7d084687297b1a17bc9e10 (diff)
[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). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@293057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/xray/xray_fdr_logging.h')
-rw-r--r--lib/xray/xray_fdr_logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xray/xray_fdr_logging.h b/lib/xray/xray_fdr_logging.h
index 86c72c259..8dd55d5c6 100644
--- a/lib/xray/xray_fdr_logging.h
+++ b/lib/xray/xray_fdr_logging.h
@@ -83,7 +83,7 @@ struct FDRLoggingOptions {
};
// Flight Data Recorder mode implementation interfaces.
-XRayLogInitStatus FDRLogging_init(std::size_t BufferSize, std::size_t BufferMax,
+XRayLogInitStatus FDRLogging_init(size_t BufferSize, size_t BufferMax,
void *Options, size_t OptionsSize);
XRayLogInitStatus FDRLogging_finalize();
void FDRLogging_handleArg0(int32_t FuncId, XRayEntryType Entry);