Skip to content

Commit 51b62ad

Browse files
committed
cstddef
1 parent 416df90 commit 51b62ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libdevice/spirv_vars.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define __LIBDEVICE_SPIRV_VARS_H
1111

1212
#include "device.h"
13+
#include <cstddef>
1314

1415
#if defined(__NVPTX__) || defined(__AMDGCN__)
1516
// For AMD/Cuda those symbols will be provided by libclc.
@@ -26,7 +27,6 @@ DEVICE_EXTERNAL size_t __spirv_GlobalSize_z();
2627

2728
#if defined(__SPIR__) || defined(__SPIRV__)
2829

29-
#include <cstddef>
3030
#include <cstdint>
3131

3232
#define __SPIRV_VAR_QUALIFIERS EXTERN_C const

0 commit comments

Comments
 (0)