From 1620b8b0bf9daacae6394e682b2db5946230a175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=BC=C3=9Fenbach?= Date: Thu, 9 Nov 2023 11:29:46 +0100 Subject: [PATCH] Add missing include guard to vulkan_video.hpp (#1723) --- VideoHppGenerator.cpp | 4 ++++ vulkan/vulkan_video.hpp | 3 +++ 2 files changed, 7 insertions(+) diff --git a/VideoHppGenerator.cpp b/VideoHppGenerator.cpp index 23abed6ac..f846fb5a8 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 76dc641ae..570dfa453 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