2002-04-17 19:27:02

by Anton Altaparmakov

[permalink] [raw]
Subject: [2.5.9-patchlet] missing include file in lib/radix-tree.c

Linus,

Please apply below patchlet which adds a missing #include <linux/string.h>
to lib/radix-tree.c. Without this, gcc emits "implicit declaration of
function memset" warning.

Patch is tested. (-:

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/

--- radix.patch ---
--- linux-2.5.9/lib/radix-tree.c Wed Apr 17 20:02:17 2002
+++ linux-2.5.9-aia/lib/radix-tree.c Wed Apr 17 20:06:41 2002
@@ -24,6 +24,7 @@
#include <linux/module.h>
#include <linux/radix-tree.h>
#include <linux/slab.h>
+#include <linux/string.h>

/*
* Radix tree node definition.