linux-str-inlines-20050518
authorChas Williams <chas@cmf.nrl.navy.mil>
Wed, 18 May 2005 14:52:24 +0000 (14:52 +0000)
committerJim Rees <rees@umich.edu>
Wed, 18 May 2005 14:52:24 +0000 (14:52 +0000)
add #include <linux/string.h> in the param file after <linux/config.h>
fixes unresolved ref to strlen from xdr.o via inline

src/config/param.i386_linux26.h

index 60146da..e89e5ef 100644 (file)
@@ -30,8 +30,8 @@
 
 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
 #include <linux/threads.h>
-
 #include <linux/config.h>
+#include <linux/string.h>
 #ifdef CONFIG_SMP
 #ifndef AFS_SMP
 #define AFS_SMP 1