2003-09-02 22:32:11

by Gergely Nagy

[permalink] [raw]
Subject: [TRIVIAL][PPC] arch/ppc/syslib/open_pic.c missing an #include <linux/errno.h>

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>