Skip to content

Commit

Permalink
[PATCH] Fix build error due to not including <linux/errno.h>
Browse files Browse the repository at this point in the history
Since d9a9cdf <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>
  • Loading branch information
Ralf Baechle authored and Linus Torvalds committed Mar 18, 2007
1 parent d9c1e9a commit 5851fad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define _SYSFS_H_

#include <linux/compiler.h>
#include <linux/errno.h>
#include <linux/list.h>
#include <asm/atomic.h>

Expand Down

0 comments on commit 5851fad

Please sign in to comment.