Skip to contentSkip to conversation

arch/ppc/syslib/open_pic.c missing an #include <linux/errno.h>

TRIVIAL Gergely Nagy 1 participant 1 message Sep 2, 2003

lore
Share & tools
lore
#0 lore raw

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.

Signature · 12 lines
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>