[vlc-commits] OpenGL.h: protect double-inclusion
Jean-Baptiste Kempf
git at videolan.org
Wed Sep 11 12:25:44 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Sep 11 12:25:02 2013 +0200| [3a54956ccca06c0bf8e179f6841b7d7ca1284d2a] | committer: Jean-Baptiste Kempf
OpenGL.h: protect double-inclusion
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a54956ccca06c0bf8e179f6841b7d7ca1284d2a
---
modules/video_output/opengl.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/video_output/opengl.h b/modules/video_output/opengl.h
index 55705d1..b01327e 100644
--- a/modules/video_output/opengl.h
+++ b/modules/video_output/opengl.h
@@ -26,6 +26,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifndef VLC_OPENGL_H
+#define VLC_OPENGL_H
+
#include <vlc_common.h>
#include <vlc_picture_pool.h>
#include <vlc_opengl.h>
@@ -90,3 +93,5 @@ int vout_display_opengl_Prepare(vout_display_opengl_t *vgl,
picture_t *picture, subpicture_t *subpicture);
int vout_display_opengl_Display(vout_display_opengl_t *vgl,
const video_format_t *source);
+
+#endif
More information about the vlc-commits
mailing list