summaryrefslogtreecommitdiff
path: root/test/egl_epoxy_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/egl_epoxy_api.c')
-rw-r--r--test/egl_epoxy_api.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/egl_epoxy_api.c b/test/egl_epoxy_api.c
index a840525..252b535 100644
--- a/test/egl_epoxy_api.c
+++ b/test/egl_epoxy_api.c
@@ -27,7 +27,11 @@
* Tests the Epoxy API using EGL.
*/
+#ifdef __sun
+#define __EXTENSIONS__
+#else
#define _GNU_SOURCE
+#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>