summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_screen.h
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-04-19 00:05:57 -0700
committerVinson Lee <vlee@vmware.com>2010-04-19 00:05:57 -0700
commit57e71b85020fff33d3e5701d0ef61e9fb84b0af4 (patch)
treec8e7b038e40331de070c06373f195310e2e30386 /src/gallium/drivers/nv50/nv50_screen.h
parent11cea8196cfa0ee9a54dbca8e0c10e9d0d93bb2e (diff)
nv50: Fix include recursion.
Don't include nv50_context.h and use a forward declaration instead. nv50_context.h includes nv50_screen.h (itself).
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.h3
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 092333a3b1..40ebbee72e 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;