diff options
author | Marek Olšák <[email protected]> | 2018-04-08 13:13:08 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-12 19:31:30 -0400 |
commit | 43d66c8c2d4d3d4dee1309856b6ce6c5393682e5 (patch) | |
tree | 1d2ffdca4a8cf765e8db3c71e491df6611c45556 /src/amd/vulkan/winsys/amdgpu | |
parent | 57f4268da49ce6969e597fe3441d6a9cd8bac562 (diff) |
mesa: include mtypes.h less
- remove mtypes.h from most header files
- add main/menums.h for often used definitions
- remove main/core.h
v2: fix radv build
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys/amdgpu')
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c | 2 | ||||
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c index 9e83390568a..32f263adddc 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c @@ -33,6 +33,8 @@ #include <amdgpu.h> #include <amdgpu_drm.h> #include <inttypes.h> +#include <pthread.h> +#include <unistd.h> #include "util/u_atomic.h" diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c index cd7ab384e73..9921d38ab0f 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c @@ -26,6 +26,8 @@ #include <amdgpu.h> #include <amdgpu_drm.h> #include <assert.h> +#include <pthread.h> +#include <errno.h> #include "ac_debug.h" #include "radv_radeon_winsys.h" |