? user/ftpd/.sgbuilt_user
? user/ftpd/ftpd
? user/ftpd/ftpd.gdb
Index: user/ftpd/auth.c
===================================================================
RCS file: /home/cvsroot/E004S001uclinux/user/ftpd/auth.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 auth.c
--- user/ftpd/auth.c	26 Jun 2008 08:53:03 -0000	1.1.1.1
+++ user/ftpd/auth.c	28 Sep 2008 08:14:25 -0000
@@ -8,6 +8,7 @@
 #include <stdio.h>
 #include <pwd.h>
 #include "crypt.h"
+#include <string.h>
 #ifdef HAVE_SHADOW_H
 #include <shadow.h>
 #endif
Index: user/ftpd/config.h
===================================================================
RCS file: /home/cvsroot/E004S001uclinux/user/ftpd/config.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 config.h
--- user/ftpd/config.h	26 Jun 2008 08:53:03 -0000	1.1.1.1
+++ user/ftpd/config.h	28 Sep 2008 08:14:26 -0000
@@ -183,12 +183,13 @@
 #define HAVE_GETPASS 1
 
 /* Define to 1 if you have the `getspnam' function. */
-#ifdef __uClinux__
-#undef HAVE_GETSPNAM
-#else
+#if defined(CONFIG_USER_TINYLOGIN_SHADOWPASSWDS) || defined(CONFIG_USER_SHADOW_UTILS)
 #define HAVE_GETSPNAM 1
+#else
+#undef HAVE_GETSPNAM
 #endif
 
+
 /* Define to 1 if you have the `getusershell' function. */
 #ifdef __uClinux__
 #undef HAVE_GETUSERSHELL
