From e380523e9bd4a7869ff782048fb6a12959ca4513 Mon Sep 17 00:00:00 2001 From: Eugene Zelenko Date: Fri, 12 May 2017 22:26:42 +0000 Subject: [XRay] Fix build with libc++ (NFC). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@302962 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/xray/xray_interface.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/xray') diff --git a/include/xray/xray_interface.h b/include/xray/xray_interface.h index aea43517d..c3833f0be 100644 --- a/include/xray/xray_interface.h +++ b/include/xray/xray_interface.h @@ -1,4 +1,4 @@ -//===-- xray_interface.h ----------------------------------------*- C++ -*-===// +//===- xray_interface.h -----------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -11,11 +11,12 @@ // // APIs for controlling XRay functionality explicitly. //===----------------------------------------------------------------------===// + #ifndef XRAY_XRAY_INTERFACE_H #define XRAY_XRAY_INTERFACE_H +#include #include -#include extern "C" { @@ -100,6 +101,6 @@ extern uintptr_t __xray_function_address(int32_t FuncId); /// encounter errors (when there are no instrumented functions, etc.). extern size_t __xray_max_function_id(); -} +} // end extern "C" -#endif +#endif // XRAY_XRAY_INTERFACE_H -- cgit v1.2.3