summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index e738218fc15..b69ffd1cc94 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -25,7 +25,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef RADV_PRIVATE_H
+#define RADV_PRIVATE_H
#include <stdlib.h>
#include <stdio.h>
@@ -1400,3 +1401,4 @@ RADV_DEFINE_STRUCT_CASTS(radv_common, VkBufferMemoryBarrier)
RADV_DEFINE_STRUCT_CASTS(radv_common, VkImageMemoryBarrier)
+#endif /* RADV_PRIVATE_H */