[PATCH] Fix build error due to not including <linux/errno.h>
authorRalf Baechle <ralf@linux-mips.org>
Sun, 18 Mar 2007 12:58:08 +0000 (12:58 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 18 Mar 2007 20:40:06 +0000 (13:40 -0700)
commit5851fadce8824d5d4b8fd02c22ae098401f6489e
treec06fcf0d444658c82bbfbdcd7609bed44067ac7d
parentd9c1e9a8fff512bb6c43461181d4360f1c8cfd6d
[PATCH] Fix build error due to not including <linux/errno.h>

Since d9a9cdfb078d755e648d53ec25b7370f84ee5729 <linux/sysfs.h> is using
ENOSYS without including <linux/errno.h> if CONFIG_SYSFS is disabled.

Fixed by including <linux/errno.h>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sysfs.h