summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/functions.sh.in5
-rw-r--r--src/librc/librc.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/sh/functions.sh.in b/sh/functions.sh.in
index 32fd92a..3f4a15a 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 d2501c0..311793f 100644
--- a/src/librc/librc.h
+++ b/src/librc/librc.h
@@ -48,6 +48,7 @@
#include <limits.h>
#include <paths.h>
#include <regex.h>
+#include <signal.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>