Reviewed-by: Sinclair Yeh <s...@vmware.com>
On Tue, Jun 12, 2018 at 03:27:04PM +0100, Ross Burton wrote: > From: Khem Raj <raj.k...@gmail.com> > > vmw_screen.h uses dev_t which is defines in sys/types.h > this header is required to be included for getting dev_t > definition. This issue happens on musl C library, it is hidden > on glibc since sys/types.h is included through another > system headers > > Upstream-Status: Submitted > Signed-off-by: Khem Raj <raj.k...@gmail.com> > --- > src/gallium/winsys/svga/drm/vmw_screen.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h > b/src/gallium/winsys/svga/drm/vmw_screen.h > index f21cabb51f..4c972fdaa9 100644 > --- a/src/gallium/winsys/svga/drm/vmw_screen.h > +++ b/src/gallium/winsys/svga/drm/vmw_screen.h > @@ -41,6 +41,7 @@ > #include "svga_winsys.h" > #include "pipebuffer/pb_buffer_fenced.h" > #include <os/os_thread.h> > +#include <sys/types.h> > > #define VMW_GMR_POOL_SIZE (16*1024*1024) > #define VMW_QUERY_POOL_SIZE (8192) > -- > 2.17.1 > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev