From: Robert P. J. Day Date: Fri, 8 Jun 2007 20:47:07 +0000 (-0700) Subject: Protect from multiple inclusion X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=217397d7d267f832081169016e1ab66691a13e08;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Protect from multiple inclusion Prevent from being included more than once, otherwise you get a redefinition error if you happen to include first. Signed-off-by: Robert P. J. Day Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h index a461f76fb004..dc77fed7b285 100644 --- a/include/linux/console_struct.h +++ b/include/linux/console_struct.h @@ -9,6 +9,9 @@ * to achieve effects such as fast scrolling by changing the origin. */ +#ifndef _LINUX_CONSOLE_STRUCT_H +#define _LINUX_CONSOLE_STRUCT_H + #include #include #include @@ -130,3 +133,5 @@ extern void vc_SAK(struct work_struct *work); #define CUR_DEFAULT CUR_UNDERLINE #define CON_IS_VISIBLE(conp) (*conp->vc_display_fg == conp) + +#endif /* _LINUX_CONSOLE_STRUCT_H */