diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch b/meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch new file mode 100644 index 0000000000..17368c88fa --- /dev/null +++ b/meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From edb22b2f4df8dab39559ace867c3c67bc12851ae Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 16 Aug 2017 18:58:20 -0700 | ||
4 | Subject: [PATCH 3/7] winsys/svga/drm: Include sys/types.h | ||
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 | --- | ||
15 | src/gallium/winsys/svga/drm/vmw_screen.h | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h | ||
19 | index f21cabb51f..4c972fdaa9 100644 | ||
20 | --- a/src/gallium/winsys/svga/drm/vmw_screen.h | ||
21 | +++ b/src/gallium/winsys/svga/drm/vmw_screen.h | ||
22 | @@ -41,6 +41,7 @@ | ||
23 | #include "svga_winsys.h" | ||
24 | #include "pipebuffer/pb_buffer_fenced.h" | ||
25 | #include <os/os_thread.h> | ||
26 | +#include <sys/types.h> | ||
27 | |||
28 | #define VMW_GMR_POOL_SIZE (16*1024*1024) | ||
29 | #define VMW_QUERY_POOL_SIZE (8192) | ||
30 | -- | ||
31 | 2.17.1 | ||
32 | |||