diff options
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r-- | fixincludes/inclhack.def | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index 996356a3930..11ac9448c5b 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -4066,6 +4066,20 @@ fix = { }; /* + * Linux kernel's vt.h breaks C++ + */ +fix = { + hackname = suse_linux_vt_cxx; + files = linux/vt.h; + + select = "^[ \t]*unsigned int new;"; + c_fix = format; + c_fix_arg = "unsigned int newev;"; + + test_text = " unsigned int new; /* New console (if changing) */"; +}; + +/* * Disable apparent native compiler optimization cruft in SVR4.2 <string.h> * that is visible to any ANSI compiler using this include. Simply * delete the lines that #define some string functions to internal forms. |