[vlc-devel] [PATCH 13/16] vout: xcb: events: add include-guard

Thomas Guillem thomas at gllm.fr
Wed Nov 9 18:33:07 CET 2016


---
 modules/video_output/xcb/events.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/video_output/xcb/events.h b/modules/video_output/xcb/events.h
index 83f7fe3..556a434 100644
--- a/modules/video_output/xcb/events.h
+++ b/modules/video_output/xcb/events.h
@@ -1,3 +1,6 @@
+#ifndef VLC_XCB_EVENTS_H
+#define VLC_XCB_EVENTS_H
+
 /**
  * @file events.h
  * @brief X C Bindings VLC module common header
@@ -67,3 +70,5 @@ xcb_cursor_t vlc_xcb_cursor_Create(xcb_connection_t *conn,
  * Processes XCB events.
  */
 int vlc_xcb_Manage(vout_display_t *vd, xcb_connection_t *conn, bool *visible);
+
+#endif /* include-guard */
-- 
2.9.3



More information about the vlc-devel mailing list