From 2fb6ff46f62e53e821b37d3ca0a71985969eaf44 Mon Sep 17 00:00:00 2001 From: Fraser Cormack Date: Tue, 20 May 2025 10:18:54 +0100 Subject: [PATCH] [libclc] Fix header inclusion issues For some reason these weren't picked up by pre-commit CI. --- libclc/clc/include/clc/geometric/clc_cross.h | 2 ++ libclc/opencl/include/clc/opencl/clc.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libclc/clc/include/clc/geometric/clc_cross.h b/libclc/clc/include/clc/geometric/clc_cross.h index 932d8ab0716d..e5aa913abfa2 100644 --- a/libclc/clc/include/clc/geometric/clc_cross.h +++ b/libclc/clc/include/clc/geometric/clc_cross.h @@ -9,6 +9,8 @@ #ifndef __CLC_GEOMETRIC_CLC_CROSS_H__ #define __CLC_GEOMETRIC_CLC_CROSS_H__ +#include + _CLC_OVERLOAD _CLC_DECL float3 __clc_cross(float3 p0, float3 p1); _CLC_OVERLOAD _CLC_DECL float4 __clc_cross(float4 p0, float4 p1); diff --git a/libclc/opencl/include/clc/opencl/clc.h b/libclc/opencl/include/clc/opencl/clc.h index 0116a12932c9..5859a00c3158 100644 --- a/libclc/opencl/include/clc/opencl/clc.h +++ b/libclc/opencl/include/clc/opencl/clc.h @@ -211,9 +211,10 @@ #include #include +#include + /* 6.11.8 Synchronization Functions */ #include -#include /* 6.11.9 Explicit Memory Fence Functions */ #include