summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/vk_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/vk_format.h')
-rw-r--r--src/amd/vulkan/vk_format.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/amd/vulkan/vk_format.h b/src/amd/vulkan/vk_format.h
index bee8e7d9eed..13ac1793460 100644
--- a/src/amd/vulkan/vk_format.h
+++ b/src/amd/vulkan/vk_format.h
@@ -24,7 +24,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef VK_FORMAT_H
+#define VK_FORMAT_H
#include <assert.h>
#include <vulkan/vulkan.h>
@@ -443,3 +444,5 @@ vk_format_get_component_bits(VkFormat format,
return 0;
}
}
+
+#endif /* VK_FORMAT_H */