This patch avoids that compilation breaks if the multipathd/cli.h header file is included multiple times from the same compilation unit. Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx> --- multipathd/cli.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/multipathd/cli.h b/multipathd/cli.h index d289167e20ff..021f25b7085a 100644 --- a/multipathd/cli.h +++ b/multipathd/cli.h @@ -1,3 +1,6 @@ +#ifndef _CLI_H_ +#define _CLI_H_ + #include <stdint.h> enum { @@ -126,3 +129,5 @@ void free_handlers (void); int cli_init (void); void cli_exit(void); char * key_generator (const char * str, int state); + +#endif /* _CLI_H_ */ -- 2.15.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel