1 From: Rico Tzschichholz <ricotz@ubuntu.com>
2 Date: Tue, 1 Sep 2015 10:45:11 +0200
3 Subject: mesa_dri2: Add missing include of config.h to define _GNU_SOURCE
5 Fix build with -Wimplicit-function-declaration while secure_getenv() is
8 Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
9 Tested-by: Stefan Dirsch <sndirsch@suse.de>
10 (cherry picked from commit 1cda354bdfd0c9ca107293b84b52f4464fdbedcc)
11 Signed-off-by: Damien Lanson <damien@kal-host.com>
13 src/mesa_dri2.c | 3 +++
14 1 file changed, 3 insertions(+)
16 diff --git a/src/mesa_dri2.c b/src/mesa_dri2.c
17 index 51e8794..420ccee 100644
21 * and José Hiram Soltren (jsoltren@nvidia.com)
29 #include <X11/Xlibint.h>