[llvm] r334555 - Added missing include to AMDHSAKernelDescriptor.h
Raphael Isemann via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 12 15:40:20 PDT 2018
Author: teemperor
Date: Tue Jun 12 15:40:20 2018
New Revision: 334555
URL: http://llvm.org/viewvc/llvm-project?rev=334555&view=rev
Log:
Added missing include to AMDHSAKernelDescriptor.h
We use size_t in this header, so we also need to include
cstddef to make it compile. Fixes the module builds.
Modified:
llvm/trunk/include/llvm/Support/AMDHSAKernelDescriptor.h
Modified: llvm/trunk/include/llvm/Support/AMDHSAKernelDescriptor.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/AMDHSAKernelDescriptor.h?rev=334555&r1=334554&r2=334555&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/AMDHSAKernelDescriptor.h (original)
+++ llvm/trunk/include/llvm/Support/AMDHSAKernelDescriptor.h Tue Jun 12 15:40:20 2018
@@ -16,6 +16,7 @@
#ifndef LLVM_SUPPORT_AMDHSAKERNELDESCRIPTOR_H
#define LLVM_SUPPORT_AMDHSAKERNELDESCRIPTOR_H
+#include <cstddef>
#include <cstdint>
// Gets offset of specified member in specified type.
More information about the llvm-commits
mailing list