summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/egl_epoxy_api.c1
-rw-r--r--test/egl_has_extension_nocontext.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/egl_epoxy_api.c b/test/egl_epoxy_api.c
index 2c1b257..a840525 100644
--- a/test/egl_epoxy_api.c
+++ b/test/egl_epoxy_api.c
@@ -27,6 +27,7 @@
* Tests the Epoxy API using EGL.
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/test/egl_has_extension_nocontext.c b/test/egl_has_extension_nocontext.c
index 94a7faa..a95860a 100644
--- a/test/egl_has_extension_nocontext.c
+++ b/test/egl_has_extension_nocontext.c
@@ -28,6 +28,7 @@
* no context bound would fail out in dispatch.
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <stdlib.h>