From 21eb66e6c0ae9f6d26852a15047812fe2a4932cf Mon Sep 17 00:00:00 2001 From: Javier Lopez-Gomez Date: Thu, 15 Feb 2024 19:36:25 +0100 Subject: [PATCH] Add missing `#include ` (required by dlsym) --- src/Graphics/OpenGLContext/GLFunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Graphics/OpenGLContext/GLFunctions.cpp b/src/Graphics/OpenGLContext/GLFunctions.cpp index 3567dda2f..88b83e80f 100644 --- a/src/Graphics/OpenGLContext/GLFunctions.cpp +++ b/src/Graphics/OpenGLContext/GLFunctions.cpp @@ -8,6 +8,7 @@ #define GL_GET_PROC_ADR(proc_type, proc_name) ptr##proc_name = (proc_type) glGetProcAddress("gl"#proc_name) #elif defined(VERO4K) || defined(ODROID) || defined(VC) +#include #define GL_GET_PROC_ADR(proc_type, proc_name) ptr##proc_name = (proc_type) dlsym(gles2so, "gl"#proc_name);