summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Doerffel <tobias.doerffel@gmail.com>2009-07-05 23:08:23 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-07 00:57:03 +0400
commit82e3310ace59794ecf0f531eca94647b2863dfda (patch)
tree5ba710949c37cb4363abe6853d6f6ffd4fe0e450
parent600ce1a0faafeed1ce6bcfd421bc040b941cbbc1 (diff)
downloadlinux-82e3310ace59794ecf0f531eca94647b2863dfda.tar.xz
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>
-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 @@
#ifndef _LINUX_SYSRQ_H
#define _LINUX_SYSRQ_H
+#include <linux/errno.h>
+
struct pt_regs;
struct tty_struct;