int chsh(char *uname);
int get_shell(int argc, char **argv, void *uname);
void check_shell(char *shell);
-#if defined(NEED_GETUSERSHELL) || defined(SOLARIS)
+#ifndef HAVE_GETUSERSHELL
char *getusershell(void);
#endif
exit(1);
}
-#ifdef NEED_GETUSERSHELL
+#ifndef HAVE_GETUSERSHELL
char *getusershell(void)
{
static int count = 1;