summaryrefslogtreecommitdiff
path: root/graphics/asymptote/glew.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/glew.c')
-rw-r--r--graphics/asymptote/glew.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/asymptote/glew.c b/graphics/asymptote/glew.c
index 4bdea46b60..f6b50465b9 100644
--- a/graphics/asymptote/glew.c
+++ b/graphics/asymptote/glew.c
@@ -7,5 +7,9 @@
#endif
#ifdef HAVE_LIBGL
+#ifdef HAVE_LIBOSMESA
+#define GLEW_OSMESA
+#endif
+
#include "GL/glew.c"
#endif /* HAVE_LIBGL */