summaryrefslogtreecommitdiffhomepage
path: root/include/vk_video/vulkan_video_codecs_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/vk_video/vulkan_video_codecs_common.h')
-rw-r--r--include/vk_video/vulkan_video_codecs_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vk_video/vulkan_video_codecs_common.h b/include/vk_video/vulkan_video_codecs_common.h
index d0e86d1..6568975 100644
--- a/include/vk_video/vulkan_video_codecs_common.h
+++ b/include/vk_video/vulkan_video_codecs_common.h
@@ -21,6 +21,10 @@ extern "C" {
// vulkan_video_codecs_common is a preprocessor guard. Do not pass it to API calls.
#define vulkan_video_codecs_common 1
+#if !defined(VK_NO_STDINT_H)
+ #include <stdint.h>
+#endif
+
#define VK_MAKE_VIDEO_STD_VERSION(major, minor, patch) \
((((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch)))