aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/dri
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2019-03-08 15:49:49 -0700
committerBrian Paul <[email protected]>2019-03-11 20:08:16 -0600
commit04544d852c457ac333e2d43adb7d42d8c9b80d4f (patch)
treeadabcf31f9e531d6612ba4921840d25e06b4d156 /src/gallium/winsys/sw/dri
parent45c6da5a48b52594ea7f116a56ce92481fbb964a (diff)
drisw: fix incomplete type compilation failure
Fixes: ../src/gallium/winsys/sw/dri/dri_sw_winsys.c: In function ‘dri_sw_displaytarget_display’: ../src/gallium/winsys/sw/dri/dri_sw_winsys.c:255:39: error: dereferencing pointer to incomplete type ‘struct pipe_box’ offset = dri_sw_dt->stride * box->y; ^ Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/gallium/winsys/sw/dri')
-rw-r--r--src/gallium/winsys/sw/dri/dri_sw_winsys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.c b/src/gallium/winsys/sw/dri/dri_sw_winsys.c
index c0200f939b6..3273813bf50 100644
--- a/src/gallium/winsys/sw/dri/dri_sw_winsys.c
+++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.c
@@ -35,6 +35,7 @@
#include "pipe/p_compiler.h"
#include "pipe/p_format.h"
+#include "pipe/p_state.h"
#include "util/u_inlines.h"
#include "util/u_format.h"
#include "util/u_math.h"