From 7c81f74b60b9d15ed472f1ca63cab0a105a84c08 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 5 May 2009 16:39:59 +0100 Subject: Fix compile on NetBSD --- sh/functions.sh.in | 5 ----- src/librc/librc.h | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) 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 -- cgit v1.2.3