[TRIVIAL][PPC] arch/ppc/syslib/open_pic.c missing an #include <linux/errno.h>
From: Gergely Nagy
Date: Tue Sep 02 2003 - 17:32:59 EST
Hi!
While compiling linux 2.6.0-test4-bk4, the build failed quite early in
arch/ppc/syslib/open_pic.c, whining about not knowing what ENODEV
is. Adding an #include <linux/errno.h> fixed the problem.
Patch attached below.
--
Gergely Nagy
--- arch/ppc/syslib/open_pic.c.old 2003-09-03 00:27:09.000000000 +0200
+++ arch/ppc/syslib/open_pic.c 2003-09-03 00:26:46.000000000 +0200
@@ -8,6 +8,7 @@
* for more details.
*/
+#include <linux/errno.h>
#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/