From 04544d852c457ac333e2d43adb7d42d8c9b80d4f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 8 Mar 2019 15:49:49 -0700 Subject: [PATCH] drisw: fix incomplete type compilation failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/gallium/winsys/sw/dri/dri_sw_winsys.c | 1 + 1 file changed, 1 insertion(+) 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" -- 2.30.2