diff --git a/sh/functions.sh.in b/sh/functions.sh.in index 32fd92a3..3f4a15ac 100644 --- a/sh/functions.sh.in +++ b/sh/functions.sh.in @@ -65,11 +65,6 @@ if [ -n "$ZSH_VERSION" ]; then setopt NO_GLOB_SUBST fi -# Use a special shell feature to save forking -if [ -n "$BASH_VERSION" -o "$ZSH_VERSION" ]; then - shell_var() { LC_ALL=C echo "${@//[![:word:]]/_}"; } -fi - # Make a sane PATH _PREFIX=@PREFIX@ _PKG_PREFIX=@PKG_PREFIX@ diff --git a/src/librc/librc.h b/src/librc/librc.h index d2501c06..311793f8 100644 --- a/src/librc/librc.h +++ b/src/librc/librc.h @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include