Skip to content

Commit

Permalink
Add missing include for renderdoc dlopen usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Aug 22, 2023
1 parent 2a914c1 commit 472ebdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/src/iree/hal/drivers/vulkan/vulkan_device.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ using namespace iree::hal::vulkan;
// avoid introducing a backdoor.
#if defined(IREE_HAL_VULKAN_HAVE_RENDERDOC)

#include <dlfcn.h>

// NOTE: C API, see https://renderdoc.org/docs/in_application_api.html.
// When compiled in the API will no-op itself if not running under a RenderDoc
// capture context (renderdoc.dll/so already loaded).
Expand Down

0 comments on commit 472ebdd

Please sign in to comment.