Skip to content

Commit b5db28f

Browse files
alycmDuncanMcBain
authored andcommitted
Pull in the header for clamp
When doing a build with my own build of clang-20 on an Ubuntu 22.04 system I got a build failure due to this.
1 parent 63d561d commit b5db28f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Utilities/include/image_conv.h

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#ifndef __IMAGE_CONV_H__
1010
#define __IMAGE_CONV_H__
1111

12+
#include <algorithm> // For clamp
13+
1214
#define STB_IMAGE_IMPLEMENTATION
1315
#include <stb_image.h>
1416
#define STB_IMAGE_WRITE_IMPLEMENTATION

0 commit comments

Comments
 (0)