summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/genX_pack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/genxml/genX_pack.h')
-rw-r--r--src/intel/genxml/genX_pack.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/genxml/genX_pack.h b/src/intel/genxml/genX_pack.h
index 0c25c4e94f4..2ec22269688 100644
--- a/src/intel/genxml/genX_pack.h
+++ b/src/intel/genxml/genX_pack.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef GENX_PACK_H
+#define GENX_PACK_H
#ifndef GEN_VERSIONx10
# error "The GEN_VERSIONx10 macro must be defined"
@@ -46,3 +47,5 @@
#else
# error "Need to add a pack header include for this gen"
#endif
+
+#endif /* GENX_PACK_H */