Commit 82e3310a authored by Tobias Doerffel's avatar Tobias Doerffel Committed by Linus Torvalds

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 <linux/errno.h> at the beginning.
Signed-off-by: default avatarTobias Doerffel <tobias.doerffel@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 600ce1a0
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#ifndef _LINUX_SYSRQ_H #ifndef _LINUX_SYSRQ_H
#define _LINUX_SYSRQ_H #define _LINUX_SYSRQ_H
#include <linux/errno.h>
struct pt_regs; struct pt_regs;
struct tty_struct; struct tty_struct;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment