Commit 2511a00c authored by Zhigang Gong's avatar Zhigang Gong Committed by Eric Anholt

Fixed a configure bug.

Should check the enable-glamor-gles2 before use the variable.
And should include the config.h as the GLAMOR_GLES2 macro is
defined there.
Signed-off-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
parent a65e1c73
......@@ -27,6 +27,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
......
......@@ -27,6 +27,10 @@
#ifndef GLAMOR_PRIV_H
#define GLAMOR_PRIV_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#include <xorg-config.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