From 1917275ee372318108aab4a427e5b156078444b3 Mon Sep 17 00:00:00 2001 From: Christophe Mutricy Date: Wed, 28 Mar 2007 21:28:24 +0000 Subject: [PATCH] Protect header against double inclusion --- include/vlc_configuration.h | 6 ++++++ include/vlc_variables.h | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index 33b052f261..f10e718f77 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -27,6 +27,10 @@ #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 */ diff --git a/include/vlc_variables.h b/include/vlc_variables.h index 2b2630c387..af1057323b 100644 --- a/include/vlc_variables.h +++ b/include/vlc_variables.h @@ -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 */ -- 2.39.5