missing include in 2.2.17-pre12 (kmod.h)

From: Andreas Steinmetz (ast@domdv.de)
Date: Sun Jul 16 2000 - 15:44:00 EST


Hi,
include/linux/kmod.h is missing "#include <linux/errno.h>" which breaks the
module build of drivers/sound/audio.c (and probably others) as EACCESS is not
defined. Patch attached.

Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH


--- linux/include/linux/kmod.h Sun Jul 16 22:34:21 2000
+++ linux-custom/include/linux/kmod.h Sun Jul 16 22:34:51 2000
@@ -3,6 +3,7 @@
 */
 
 #include <linux/config.h>
+#include <linux/errno.h>
 
 #ifdef CONFIG_KMOD
 extern int request_module(const char * name);

End of MIME message

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



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:08 EST