[vlc-devel] [PATCH 1/8] mmal: Add missing header include guards

Julian Scheel julian at jusst.de
Wed Jun 3 09:37:28 CEST 2015


Signed-off-by: Julian Scheel <julian at jusst.de>
---
 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
-- 
2.4.0





More information about the vlc-devel mailing list