1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/applications/audio/vcv-rack/glfw.patch
2019-08-07 10:07:43 +02:00

14 lines
345 B
Diff

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])
{