summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_util.h')
-rw-r--r--src/amd/vulkan/radv_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_util.h b/src/amd/vulkan/radv_util.h
index 57a4c95..2b00488 100644
--- a/src/amd/vulkan/radv_util.h
+++ b/src/amd/vulkan/radv_util.h
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef RADV_UTIL_H
+#define RADV_UTIL_H
#ifdef HAVE___BUILTIN_POPCOUNT
#define util_bitcount(i) __builtin_popcount(i)
@@ -7,3 +8,4 @@ extern unsigned int
util_bitcount(unsigned int n);
#endif
+#endif /* RADV_UTIL_H */