summaryrefslogtreecommitdiff
path: root/graphics/asymptote/glrender.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/glrender.h')
-rw-r--r--graphics/asymptote/glrender.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/asymptote/glrender.h b/graphics/asymptote/glrender.h
index 6b99611dfe..1c140584a9 100644
--- a/graphics/asymptote/glrender.h
+++ b/graphics/asymptote/glrender.h
@@ -44,6 +44,9 @@
#endif
#ifdef HAVE_LIBOSMESA
+#ifndef APIENTRY
+#define APIENTRY
+#endif
#include <GL/osmesa.h>
#endif
@@ -61,6 +64,9 @@
#endif
#ifdef HAVE_LIBOSMESA
+#ifndef APIENTRY
+#define APIENTRY
+#endif
#include <GL/osmesa.h>
#endif