Displaying 1 result from an estimated 1 matches for "dea19ce".
2014 Jun 21
0
[PATCH 2/2] present: build only when glamor is enabled
...23,7 +23,7 @@
*/
#include "nouveau_present.h"
-#ifdef DRI3
+#if defined(DRI3) && defined(HAVE_GLAMOR)
#include "nv_include.h"
#include "nouveau_glamor.h"
#include "xf86drmMode.h"
diff --git a/src/nouveau_present.h b/src/nouveau_present.h
index dea19ce..958c2f7 100644
--- a/src/nouveau_present.h
+++ b/src/nouveau_present.h
@@ -4,7 +4,11 @@
#include "xorg-server.h"
#include "scrnintstr.h"
-#ifdef DRI3
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#if defined(DRI3) && defined(HAVE_GLAMOR)
#include...