Skip to content

Commit 8ce14bb

Browse files
Merge pull request #112 from janisozaur/missing-incl-guard
Add missing include guard to misc/vulkan.h
2 parents 02de96a + 4a59ff4 commit 8ce14bb

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

include/misc/image_create_info.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,4 +569,4 @@ namespace Anvil
569569

570570
}; /* namespace Anvil */
571571

572-
#endif /* MISC_IMAGE_CREATE_INFO_H */
572+
#endif /* MISC_IMAGE_CREATE_INFO_H */

include/misc/vulkan.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2020
// THE SOFTWARE.
2121
//
22+
#ifndef MISC_VULKAN_H
23+
#define MISC_VULKAN_H
24+
2225
#include <config.h>
2326
#include "vulkan/vulkan.h"
2427

@@ -173,3 +176,5 @@ namespace Anvil
173176
/* Func pointers to extensions are exposed to apps via relevant functions implemented by Anvil::*Device and Anvil::Instance. */
174177
}
175178
}
179+
180+
#endif /* MISC_VULKAN_H */

0 commit comments

Comments
 (0)