Apply patch from Giulio Orsero <giulioo@pobox.com> to ensure
authorEric Andersen <andersen@codepoet.org>
Sun, 1 Oct 2000 17:01:36 +0000 (17:01 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 1 Oct 2000 17:01:36 +0000 (17:01 -0000)
get_last_path_component is defined under all configurations,
 -Erik

utility.c

index 03d649757562850b128aaefcae4724e57035f8f8..9a303751d5af1e5356393799f644272bb5b63cd4 100644 (file)
--- a/utility.c
+++ b/utility.c
@@ -1691,7 +1691,7 @@ char process_escape_sequence(char **ptr)
 }
 #endif
 
-#if defined BB_BASENAME || defined BB_LN || defined BB_SH
+#if defined BB_BASENAME || defined BB_LN || defined BB_SH || defined BB_INIT || defined BB_FEATURE_USE_PROCFS
 char *get_last_path_component(char *path)
 {
        char *s=path+strlen(path)-1;