diff --git a/src/mesa/pipe/softpipe/sp_surface.h b/src/mesa/pipe/softpipe/sp_surface.h index 90086c327f4..837e0c4ba1a 100644 --- a/src/mesa/pipe/softpipe/sp_surface.h +++ b/src/mesa/pipe/softpipe/sp_surface.h @@ -33,7 +33,9 @@ #include "glheader.h" #include "sp_headers.h" +#include "pipe/p_state.h" +struct pipe_context; struct softpipe_surface; struct softpipe_context;