Commit 1cda354b authored by Rico Tzschichholz's avatar Rico Tzschichholz Committed by Aaron Plattner
Browse files

mesa_dri2: Add missing include of config.h to define _GNU_SOURCE



Fix build with -Wimplicit-function-declaration while secure_getenv() is
guarded by __USE_GNU.
Reviewed-by: default avatarAaron Plattner <aplattner@nvidia.com>
Tested-by: default avatarStefan Dirsch <sndirsch@suse.de>
parent af517f56
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
* and José Hiram Soltren (jsoltren@nvidia.com) * and José Hiram Soltren (jsoltren@nvidia.com)
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define NEED_REPLIES #define NEED_REPLIES
#include <X11/Xlibint.h> #include <X11/Xlibint.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment