summaryrefslogtreecommitdiff
path: root/src/su.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/su.c')
-rw-r--r--src/su.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/su.c b/src/su.c
index ee31eafd1..27a56d505 100644
--- a/src/su.c
+++ b/src/su.c
@@ -1,5 +1,5 @@
/* su for GNU. Run a shell with substitute user and group IDs.
- Copyright (C) 1992-2000 Free Software Foundation, Inc.
+ Copyright (C) 1992-2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -83,6 +83,7 @@
#include "system.h"
#include "closeout.h"
+#include "dirname.h"
#undef getusershell
@@ -147,8 +148,6 @@ char *getusershell ();
void endusershell ();
void setusershell ();
-char *base_name ();
-
extern char **environ;
static void run_shell (const char *, const char *, char **)