Messages in this thread Patch in this message | | | Date | Fri, 08 Apr 2005 16:23:26 +0100 | From | Paulo Marques <> | Subject | Re: 2.6.12-rc2-mm2 |
| |
Jan Dittmer wrote: > Andrew Morton wrote: > >>create-a-kstrdup-library-function.patch >> create a kstrdup library function >> >>create-a-kstrdup-library-function-fixes.patch >> create-a-kstrdup-library-function-fixes
Oops, forgot to include slab.h. I guess the other #include's were including it somewhere down the line on x86, so it went unnoticed :(
The attached patch should fix this.
[PATCH] create-a-kstrdup-library-function-fix-include-slab
Signed-off-by: Paulo Marques <pmarques@grupopie.com>
-- Paulo Marques - www.grupopie.com
All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) --- ./lib/string.c.orig 2005-04-08 16:07:14.000000000 +0100 +++ ./lib/string.c 2005-04-08 16:08:29.000000000 +0100 @@ -23,6 +23,7 @@ #include <linux/string.h> #include <linux/ctype.h> #include <linux/module.h> +#include <linux/slab.h> #ifndef __HAVE_ARCH_STRNICMP /** | |