[vlc-commits] mmal: Add missing header include guards

Julian Scheel git at videolan.org
Fri Jun 5 15:37:13 CEST 2015


vlc | branch: master | Julian Scheel <julian at jusst.de> | Wed Jun  3 09:37:28 2015 +0200| [620303f6b607038d49ca773d3ae75c0ea2e04e65] | committer: Jean-Baptiste Kempf

mmal: Add missing header include guards

Signed-off-by: Julian Scheel <julian at jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=620303f6b607038d49ca773d3ae75c0ea2e04e65
---

 modules/hw/mmal/mmal_picture.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/hw/mmal/mmal_picture.h b/modules/hw/mmal/mmal_picture.h
index f30a277..68d4bd1 100644
--- a/modules/hw/mmal/mmal_picture.h
+++ b/modules/hw/mmal/mmal_picture.h
@@ -21,6 +21,9 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifndef _MMAL_PICTURE_H
+#define _MMAL_PICTURE_H
+
 #include <vlc_common.h>
 #include <interface/mmal/mmal.h>
 
@@ -39,3 +42,5 @@ struct picture_sys_t {
 vlc_mutex_t* get_mmal_opaque_mutex(void);
 int mmal_picture_lock(picture_t *picture);
 void mmal_picture_unlock(picture_t *picture);
+
+#endif



More information about the vlc-commits mailing list