From 61c933961b9dd02c9dfb77f086c25b83749f4b37 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 2 Sep 2015 14:57:35 +0200 Subject: [PATCH] src/mesa_dri2.c: define _GNU_SOURCE Without having defined _GNU_SOURCE __USE_GNU isn't defined either. Though secure_getenv() in stdlib.h isn't declared. --- src/mesa_dri2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa_dri2.c b/src/mesa_dri2.c index 51e8794..8594c1f 100644 --- a/src/mesa_dri2.c +++ b/src/mesa_dri2.c @@ -35,6 +35,7 @@ #define NEED_REPLIES +#define _GNU_SOURCE #include #include #include -- 1.8.4.5