[vlc-devel] [PATCH] vlc_modules.h: protect multiple includes
Steve Lhomme
robux4 at videolabs.io
Thu Jul 13 14:50:28 CEST 2017
---
include/vlc_modules.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/vlc_modules.h b/include/vlc_modules.h
index 2be48f0b2a..c2d3c26d20 100644
--- a/include/vlc_modules.h
+++ b/include/vlc_modules.h
@@ -21,6 +21,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifndef VLC_MODULES_H
+#define VLC_MODULES_H 1
+
/**
* \file
* This file defines functions for modules in vlc
@@ -78,3 +81,5 @@ VLC_USED static inline bool module_is_main( const module_t * p_module )
{
return !strcmp( module_get_object( p_module ), "core" );
}
+
+#endif /* VLC_MODULES_H */
--
2.12.1
More information about the vlc-devel
mailing list