From 5d426fa848e3bb92b892b8b2cab35e55c2ad0f6e Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 5 May 1996 00:23:52 +0000 Subject: [PATCH] Fixed includes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@484 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/getusershell.c | 10 ++++++++++ lib/roken/strdup.c | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/roken/getusershell.c b/lib/roken/getusershell.c index 02dae9445..8aa863e55 100644 --- a/lib/roken/getusershell.c +++ b/lib/roken/getusershell.c @@ -43,7 +43,9 @@ RCSID("$Id$"); #include #include +#ifdef HAVE_PATHS_H #include +#endif #include #include @@ -55,6 +57,14 @@ RCSID("$Id$"); #define _PATH_SHELLS "/etc/shells" #endif +#ifndef _PATH_BSHELL +#define _PATH_BSHELL "/bin/sh" +#endif + +#ifndef _PATH_CSHELL +#define _PATH_CSHELL "/bin/csh" +#endif + /* * Local shells should NOT be added here. They should be added in * /etc/shells. diff --git a/lib/roken/strdup.c b/lib/roken/strdup.c index 8b976c2c6..c9377ef4a 100644 --- a/lib/roken/strdup.c +++ b/lib/roken/strdup.c @@ -1,4 +1,8 @@ -#include "bsd_locl.h" +#ifdef HAVE_CONFIG_H +#include +#endif +#include +#include RCSID("$Id$");