Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From f212b6bed4bf265aec069c21cdc4b7c2d9cb32df Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 16 Aug 2017 18:58:20 -0700 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 4 | Subject: [PATCH 2/4] winsys/svga/drm: Include sys/types.h |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 5 | Organization: O.S. Systems Software LTDA. |
| 6 | |
| 7 | vmw_screen.h uses dev_t which is defines in sys/types.h |
| 8 | this header is required to be included for getting dev_t |
| 9 | definition. This issue happens on musl C library, it is hidden |
| 10 | on glibc since sys/types.h is included through another |
| 11 | system headers |
| 12 | |
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 14 | Upstream-Status: Backport [7dfdfbf8c37e52e7b9b09f7d1d434edad3ebc864] |
| 15 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | --- |
| 18 | src/gallium/winsys/svga/drm/vmw_screen.h | 1 + |
| 19 | 1 file changed, 1 insertion(+) |
| 20 | |
| 21 | diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 22 | index a87c087d9c5..cb34fec48e7 100644 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | --- 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 Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 34 | 2.21.0 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 35 | |