]> git.sesse.net Git - vlc/commitdiff
Protect header against double inclusion
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 28 Mar 2007 21:28:24 +0000 (21:28 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 28 Mar 2007 21:28:24 +0000 (21:28 +0000)
include/vlc_configuration.h
include/vlc_variables.h

index 33b052f26100905f30596a3d5b03ecf9a54cc1e8..f10e718f776fb9e61bf83f8b9ca4c76e881a21be 100644 (file)
   #error You are not libvlc or one of its plugins. You cannot include this file
 #endif
 
+#ifndef _VLC_CONFIGURATION_H
+#define _VLC_CONFIGURATION_H 1
+
+
 # ifdef __cplusplus
 extern "C" {
 # endif
@@ -483,3 +487,5 @@ static inline char *config_chain_find_value( config_chain_t *p_cfg, const char *
 # ifdef __cplusplus
 }
 # endif
+
+#endif /* _VLC_CONFIGURATION_H */
index 2b2630c3876f696655639a0f9970d3c563b6e2f6..af1057323b26fc64f78aa042fd748f4b63e01b2b 100644 (file)
@@ -26,6 +26,9 @@
   #error You are not libvlc or one of its plugins. You cannot include this file
 #endif
 
+#ifndef _VLC_VARIABLES_H
+#define _VLC_VARIABLES_H 1
+
 /**
  * \defgroup variables Variables
  *
@@ -598,4 +601,4 @@ static inline char *__var_CreateGetNonEmptyStringCommand( vlc_object_t *p_obj,
 /**
  * @}
  */
-
+#endif /*  _VLC_VARIABLES_H */