public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix build error due to not including <linux/errno.h>
@ 2007-03-18 12:58 Ralf Baechle
  2007-03-19  0:36 ` Alan Stern
  0 siblings, 1 reply; 5+ messages in thread
From: Ralf Baechle @ 2007-03-18 12:58 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton, Alan Stern, linux-kernel

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>

diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index 0544edd..fea9a6b 100644
--- a/include/linux/sysfs.h
+++ b/include/linux/sysfs.h
@@ -11,6 +11,7 @@
 #define _SYSFS_H_
 
 #include <linux/compiler.h>
+#include <linux/errno.h>
 #include <linux/list.h>
 #include <asm/atomic.h>
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-01  4:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-18 12:58 [PATCH] Fix build error due to not including <linux/errno.h> Ralf Baechle
2007-03-19  0:36 ` Alan Stern
2007-03-19  0:44   ` Ralf Baechle
2007-03-19  6:01     ` Andrew Morton
2007-04-01  4:58       ` Oleg Verych

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox