blob: aaeb0f11ba32b389b18715e63b5fb299a3a14d47 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From f212b6bed4bf265aec069c21cdc4b7c2d9cb32df Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 16 Aug 2017 18:58:20 -0700
Brad Bishop19323692019-04-05 15:28:33 -04004Subject: [PATCH 2/4] winsys/svga/drm: Include sys/types.h
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005Organization: O.S. Systems Software LTDA.
6
7vmw_screen.h uses dev_t which is defines in sys/types.h
8this header is required to be included for getting dev_t
9definition. This issue happens on musl C library, it is hidden
10on glibc since sys/types.h is included through another
11system headers
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Upstream-Status: Backport [7dfdfbf8c37e52e7b9b09f7d1d434edad3ebc864]
15Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Brad Bishop19323692019-04-05 15:28:33 -040016Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017---
18 src/gallium/winsys/svga/drm/vmw_screen.h | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h
Brad Bishop19323692019-04-05 15:28:33 -040022index a87c087d9c5..cb34fec48e7 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023--- a/src/gallium/winsys/svga/drm/vmw_screen.h
24+++ b/src/gallium/winsys/svga/drm/vmw_screen.h
25@@ -41,6 +41,7 @@
26 #include "svga_winsys.h"
27 #include "pipebuffer/pb_buffer_fenced.h"
28 #include <os/os_thread.h>
29+#include <sys/types.h>
30
31 #define VMW_GMR_POOL_SIZE (16*1024*1024)
32 #define VMW_QUERY_POOL_SIZE (8192)
33--
Brad Bishop19323692019-04-05 15:28:33 -0400342.21.0
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080035