linux/sysrq.h needs linux/errno.h
commit82e3310ace59794ecf0f531eca94647b2863dfda
authorTobias Doerffel <tobias.doerffel@gmail.com>
Sun, 5 Jul 2009 19:08:23 +0000 (5 12:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Jul 2009 20:57:03 +0000 (6 13:57 -0700)
tree5ba710949c37cb4363abe6853d6f6ffd4fe0e450
parent600ce1a0faafeed1ce6bcfd421bc040b941cbbc1
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>
include/linux/sysrq.h