From: Tobias Doerffel Date: Sun, 5 Jul 2009 19:08:23 +0000 (-0700) Subject: linux/sysrq.h needs linux/errno.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82e3310ace59794ecf0f531eca94647b2863dfda;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git linux/sysrq.h needs linux/errno.h In include/linux/sysrq.h the constant EINVAL is being used but is undefined if include/linux/errno.h is not included before. Fix this by adding #include at the beginning. Signed-off-by: Tobias Doerffel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h index 98a1d8cfb73d..99adcdc0d3ca 100644 --- a/include/linux/sysrq.h +++ b/include/linux/sysrq.h @@ -14,6 +14,8 @@ #ifndef _LINUX_SYSRQ_H #define _LINUX_SYSRQ_H +#include + struct pt_regs; struct tty_struct;