panvk: Add missing headers to android platform

Fixes: 2de95773b9 ("panvk: Kill panvk_private.h")

Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31610>
(cherry picked from commit 2c79e01259)
This commit is contained in:
Alessandro Astone 2024-10-13 14:53:50 +02:00 committed by Eric Engestrom
parent 7ebbb0c5b7
commit 3cd62ed4d8
2 changed files with 5 additions and 1 deletions

View file

@ -444,7 +444,7 @@
"description": "panvk: Add missing headers to android platform",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "2de95773b9cc366c4d4b1339a993e31f8812b2f2",
"notes": null

View file

@ -6,12 +6,16 @@
* SPDX-License-Identifier: MIT
*/
#include <stdlib.h>
#include <hardware/hardware.h>
#include <hardware/hwvulkan.h>
#include <vulkan/vk_icd.h>
#include "util/log.h"
#include "panvk_entrypoints.h"
static int panvk_hal_open(const struct hw_module_t *mod, const char *id,
struct hw_device_t **dev);
static int panvk_hal_close(struct hw_device_t *dev);