summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/common/ac_binary.h')
-rw-r--r--src/amd/common/ac_binary.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/amd/common/ac_binary.h b/src/amd/common/ac_binary.h
index 0ece9297253..a784a7220cc 100644
--- a/src/amd/common/ac_binary.h
+++ b/src/amd/common/ac_binary.h
@@ -24,7 +24,8 @@
*
*/
-#pragma once
+#ifndef AC_BINARY_H
+#define AC_BINARY_H
#include <stdint.h>
#include <stdbool.h>
@@ -97,3 +98,5 @@ void ac_shader_binary_read_config(struct ac_shader_binary *binary,
struct ac_shader_config *conf,
unsigned symbol_offset,
bool supports_spill);
+
+#endif /* AC_BINARY_H */