about summary refs log tree commit diff
path: root/pkgs/applications/audio/vcv-rack/glfw.patch
blob: 77875415160ca93116773ca76f005d50718a768e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/init.c b/src/init.c
index af4a579e..317e25b8 100644
--- a/src/init.c
+++ b/src/init.c
@@ -339,7 +339,7 @@ GLFWAPI GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
 
 char glfwOpenedFilename[1024];
 
-const char *glfwGetOpenedFilename()
+GLFWAPI const char *glfwGetOpenedFilename()
 {
     if (glfwOpenedFilename[0])
     {