diff --git a/vlib/glfw/glfw.v b/vlib/glfw/glfw.v
index 44323b7772..546ba89561 100644
--- a/vlib/glfw/glfw.v
+++ b/vlib/glfw/glfw.v
@@ -4,6 +4,8 @@
 
 module glfw
 
+import gl
+
 #flag -I @VROOT/thirdparty/glfw 
 #flag -L @VROOT/thirdparty/glfw