summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/nvfx/nv04_surface_2d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nv04_surface_2d.h b/src/gallium/drivers/nvfx/nv04_surface_2d.h
index b2b237b9df..2123c3ed08 100644
--- a/src/gallium/drivers/nvfx/nv04_surface_2d.h
+++ b/src/gallium/drivers/nvfx/nv04_surface_2d.h
@@ -1,6 +1,10 @@
#ifndef __NV04_SURFACE_2D_H__
#define __NV04_SURFACE_2D_H__
+#include "pipe/p_state.h"
+
+struct nouveau_screen;
+
struct nv04_surface {
struct pipe_surface base;
unsigned pitch;