summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/intel/tools/decoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h
index 739f194e3bd..bbeaa0ac831 100644
--- a/src/intel/tools/decoder.h
+++ b/src/intel/tools/decoder.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef DECODER_H
+#define DECODER_H
#include <stdint.h>
#include <stdbool.h>
@@ -103,3 +104,5 @@ void gen_field_iterator_init(struct gen_field_iterator *iter,
struct gen_group *group, const uint32_t *p);
bool gen_field_iterator_next(struct gen_field_iterator *iter);
+
+#endif /* DECODER_H */