aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysrq.h
diff options
context:
space:
mode:
authorTobias Doerffel <tobias.doerffel@gmail.com>2009-07-05 15:08:23 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-06 16:57:03 -0400
commit82e3310ace59794ecf0f531eca94647b2863dfda (patch)
tree5ba710949c37cb4363abe6853d6f6ffd4fe0e450 /include/linux/sysrq.h
parent600ce1a0faafeed1ce6bcfd421bc040b941cbbc1 (diff)
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: Tobias Doerffel <tobias.doerffel@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sysrq.h')
-rw-r--r--include/linux/sysrq.h2
1 files changed, 2 insertions, 0 deletions
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 @@
14#ifndef _LINUX_SYSRQ_H 14#ifndef _LINUX_SYSRQ_H
15#define _LINUX_SYSRQ_H 15#define _LINUX_SYSRQ_H
16 16
17#include <linux/errno.h>
18
17struct pt_regs; 19struct pt_regs;
18struct tty_struct; 20struct tty_struct;
19 21