mds-kbdc: m + include stack for macro and check for redefinitions of macros

Signed-off-by: Mattias Andrée <maandree@operamail.com>