[XRay] Fix build with libc++ (NFC).
authorEugene Zelenko <eugene.zelenko@gmail.com>
Fri, 12 May 2017 22:26:42 +0000 (22:26 +0000)
committerEugene Zelenko <eugene.zelenko@gmail.com>
Fri, 12 May 2017 22:26:42 +0000 (22:26 +0000)
llvm-svn: 302962

compiler-rt/include/xray/xray_interface.h

index aea4351..c3833f0 100644 (file)
@@ -1,4 +1,4 @@
-//===-- xray_interface.h ----------------------------------------*- C++ -*-===//
+//===- xray_interface.h -----------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
 //
 // APIs for controlling XRay functionality explicitly.
 //===----------------------------------------------------------------------===//
+
 #ifndef XRAY_XRAY_INTERFACE_H
 #define XRAY_XRAY_INTERFACE_H
 
+#include <cstddef>
 #include <cstdint>
-#include <stddef.h>
 
 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