summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-10-11 18:26:24 +0100
committerEmil Velikov <[email protected]>2016-10-14 11:53:41 +0100
commit08efa6a19f1c6448cb0fa7807d16521291b2d3b9 (patch)
treeee456b23eb91a37ccc157300c6b5530e9b3e776e /src/intel/vulkan/anv_wsi.h
parent76ae842366f1da575e556f20cb06995228a2e92b (diff)
anv: use correct header guards
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_wsi.h')
-rw-r--r--src/intel/vulkan/anv_wsi.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_wsi.h b/src/intel/vulkan/anv_wsi.h
index 67cb690fdc5..02be86dada5 100644
--- a/src/intel/vulkan/anv_wsi.h
+++ b/src/intel/vulkan/anv_wsi.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef ANV_WSI_H
+#define ANV_WSI_H
#include "anv_private.h"
@@ -76,3 +77,5 @@ VkResult anv_x11_init_wsi(struct anv_physical_device *physical_device);
void anv_x11_finish_wsi(struct anv_physical_device *physical_device);
VkResult anv_wl_init_wsi(struct anv_physical_device *physical_device);
void anv_wl_finish_wsi(struct anv_physical_device *physical_device);
+
+#endif /* ANV_WSI_H */