summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r--src/intel/isl/isl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 2edcdd1dbb7..11ad8919e64 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -35,7 +35,8 @@
* - functions
*/
-#pragma once
+#ifndef ISL_H
+#define ISL_H
#include <assert.h>
#include <stdbool.h>
@@ -1477,3 +1478,5 @@ isl_surf_get_depth_format(const struct isl_device *dev,
#ifdef __cplusplus
}
#endif
+
+#endif /* ISL_H */