From 391d35d63e83293855180b1cce061ca6b73a8b56 Mon Sep 17 00:00:00 2001 From: John Zupin Date: Thu, 18 Sep 2025 22:17:25 -0600 Subject: include limits.h in slang-platform.cpp (#8473) fixes https://github.com/shader-slang/slang/issues/8472 Fixes an issue with GCC 9.4.0 on Ubuntu 20.04, it will throw an error about PATH_MAX not being declared. Co-authored-by: Mukund Keshava --- source/core/slang-platform.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/core') diff --git a/source/core/slang-platform.cpp b/source/core/slang-platform.cpp index 75c1b96cd..f02534e7c 100644 --- a/source/core/slang-platform.cpp +++ b/source/core/slang-platform.cpp @@ -20,6 +20,7 @@ #endif #if SLANG_LINUX_FAMILY +#include #include #endif -- cgit v1.2.3