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 #include #include 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 #include #include