Skip to content

Commit

Permalink
Added #include <string.h> to resolve strnlen missing in the module
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadhr committed Aug 31, 2024
1 parent 925005d commit d12d755
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions snippets/includes.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <vulkan/vulkan_hpp_macros.hpp>

#if defined( VULKAN_HPP_ENABLE_STD_MODULE ) && defined( VULKAN_HPP_STD_MODULE )
#include <string.h>
import VULKAN_HPP_STD_MODULE;
import VULKAN_HPP_STD_COMPAT_MODULE;
#else
Expand Down
1 change: 1 addition & 0 deletions vulkan/vulkan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <vulkan/vulkan_hpp_macros.hpp>

#if defined( VULKAN_HPP_ENABLE_STD_MODULE ) && defined( VULKAN_HPP_STD_MODULE )
# include <string.h>
import VULKAN_HPP_STD_MODULE;
import VULKAN_HPP_STD_COMPAT_MODULE;
#else
Expand Down
1 change: 1 addition & 0 deletions vulkan/vulkansc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <vulkan/vulkan_hpp_macros.hpp>

#if defined( VULKAN_HPP_ENABLE_STD_MODULE ) && defined( VULKAN_HPP_STD_MODULE )
# include <string.h>
import VULKAN_HPP_STD_MODULE;
import VULKAN_HPP_STD_COMPAT_MODULE;
#else
Expand Down

0 comments on commit d12d755

Please sign in to comment.