diff options
author | Tobias Doerffel <tobias.doerffel@gmail.com> | 2009-07-05 21:08:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-06 22:57:03 +0200 |
commit | 82e3310ace59794ecf0f531eca94647b2863dfda (patch) | |
tree | 5ba710949c37cb4363abe6853d6f6ffd4fe0e450 /include | |
parent | drivers/video/s3c-fb.c: fix clock setting for Samsung SoC Framebuffer (diff) | |
download | linux-82e3310ace59794ecf0f531eca94647b2863dfda.tar.xz linux-82e3310ace59794ecf0f531eca94647b2863dfda.zip |
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')
-rw-r--r-- | include/linux/sysrq.h | 2 |
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; |