Include linux/errno.h in linux/sysrq.h
PATCH 1/1 Include linux/errno.h in linux/sysrq.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 <linux/errno.h> at the beginning.
Signed-off-by Tobias Doerffel <[email protected]>
--- include/linux/sysrq.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/sysrq.h +2 -0
@@ -14,6 +14,8 @@#ifndef _LINUX_SYSRQ_H#define _LINUX_SYSRQ_H +#include <linux/errno.h> +struct pt_regs ;struct tty_struct ;
Signature · 1 line
1.6.3.3