diff --git a/VideoHppGenerator.cpp b/VideoHppGenerator.cpp index 23abed6..f846fb5 100644 --- a/VideoHppGenerator.cpp +++ b/VideoHppGenerator.cpp @@ -38,6 +38,10 @@ void VideoHppGenerator::generateHppFile() const std::cout << "VideoHppGenerator: Generating " << video_hpp << " ... " << std::endl; std::string const videoHppTemplate = R"(${copyrightMessage} + +#ifndef VULKAN_VIDEO_HPP +#define VULKAN_VIDEO_HPP + #include #include #include diff --git a/vulkan/vulkan_video.hpp b/vulkan/vulkan_video.hpp index 76dc641..570dfa4 100644 --- a/vulkan/vulkan_video.hpp +++ b/vulkan/vulkan_video.hpp @@ -4,6 +4,9 @@ // This header is generated from the Khronos Vulkan XML API Registry. +#ifndef VULKAN_VIDEO_HPP +#define VULKAN_VIDEO_HPP + #include #include #include