Mesa (master): nv50: Fix include recursion.
Vinson Lee
vlee at kemper.freedesktop.org
Mon Apr 19 07:07:55 UTC 2010
Module: Mesa
Branch: master
Commit: 57e71b85020fff33d3e5701d0ef61e9fb84b0af4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57e71b85020fff33d3e5701d0ef61e9fb84b0af4
Author: Vinson Lee <vlee at vmware.com>
Date: Mon Apr 19 00:05:57 2010 -0700
nv50: Fix include recursion.
Don't include nv50_context.h and use a forward declaration instead.
nv50_context.h includes nv50_screen.h (itself).
---
src/gallium/drivers/nv50/nv50_screen.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_screen.h b/src/gallium/drivers/nv50/nv50_screen.h
index 092333a..40ebbee 100644
--- a/src/gallium/drivers/nv50/nv50_screen.h
+++ b/src/gallium/drivers/nv50/nv50_screen.h
@@ -2,7 +2,8 @@
#define __NV50_SCREEN_H__
#include "nouveau/nouveau_screen.h"
-#include "nv50_context.h"
+
+struct nv50_context;
struct nv50_screen {
struct nouveau_screen base;
More information about the mesa-commit
mailing list