imagemagick: bump version to 7.0.3-7 (security)
[buildroot-gz.git] / package / libvdpau / 0001-missing-configh-include.patch
blobf96c6fa7bc67cf4d2f5b6f5d99831f96da861d2b
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
6 guarded by __USE_GNU.
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>
12 ---
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
18 --- a/src/mesa_dri2.c
19 +++ b/src/mesa_dri2.c
20 @@ -33,6 +33,9 @@
21 * and José Hiram Soltren (jsoltren@nvidia.com)
24 +#ifdef HAVE_CONFIG_H
25 +#include "config.h"
26 +#endif
28 #define NEED_REPLIES
29 #include <X11/Xlibint.h>