From 8cc06191a85b15ba69ac6bddf9f94b6dafc93e0c Mon Sep 17 00:00:00 2001 From: Yurii Kolesnykov Date: Thu, 13 Nov 2025 17:20:07 +0000 Subject: [PATCH] apple_cgl.c: Fix error: call to undeclared function 'os_get_option' Signed-off-by: Yurii Kolesnykov Fixes: 222b85328e2 ("mesa: replace most occurrences of getenv() with os_get_option()") Reviewed-by: Yonggang Luo Reviewed-by: Mel Henning Part-of: --- src/glx/apple/apple_cgl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glx/apple/apple_cgl.c b/src/glx/apple/apple_cgl.c index 81b6730f8e2..9bdfe555949 100644 --- a/src/glx/apple/apple_cgl.c +++ b/src/glx/apple/apple_cgl.c @@ -34,6 +34,7 @@ #include "apple_cgl.h" #include "apple_glx.h" +#include "util/os_misc.h" #ifndef OPENGL_FRAMEWORK_PATH #define OPENGL_FRAMEWORK_PATH "/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL"