projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
600ce1a
)
linux/sysrq.h needs linux/errno.h
author
Tobias Doerffel
<tobias.doerffel@gmail.com>
Sun, 5 Jul 2009 19:08:23 +0000
(12:08 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 6 Jul 2009 20:57:03 +0000
(13:57 -0700)
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>
include/linux/sysrq.h
patch
|
blob
|
history
diff --git
a/include/linux/sysrq.h
b/include/linux/sysrq.h
index 98a1d8cfb73d1902d7f55466bc9aa034e8436b2b..99adcdc0d3ca9062173f976cb27cd7f8bf8a0a91 100644
(file)
--- 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;