Re: test11pre3: MD module compile fail, sysctl.h again

From: Chmouel Boudjnah (chmouel@mandrakesoft.com)
Date: Mon Nov 13 2000 - 07:37:46 EST


Hans Grobler <grobh@sun.ac.za> writes:

> make -C md modules
> make[2]: Entering directory `/usr/src/linux-2.4.0-test11-pre3/drivers/md'
> kgcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test11-pre3/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
> -pipe -march=i686 -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.0-test11-pre3/include/linux/modversions.h
> -DEXPORT_SYMTAB -c md.c

patch from jgarzik :

--- linux/include/linux/sysctl.h.chmou Sat Nov 11 22:13:13 2000
+++ linux/include/linux/sysctl.h Sun Nov 12 12:08:15 2000
@@ -24,8 +24,12 @@
 #ifndef _LINUX_SYSCTL_H
 #define _LINUX_SYSCTL_H
 
+#include <linux/kernel.h>
+#include <linux/types.h>
 #include <linux/list.h>
+
+struct file;
 
 #define CTL_MAXNAME 10
 

-- 
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:23 EST