Fix compile on NetBSD
This commit is contained in:
parent
d441bf1585
commit
7c81f74b60
@ -65,11 +65,6 @@ if [ -n "$ZSH_VERSION" ]; then
|
|||||||
setopt NO_GLOB_SUBST
|
setopt NO_GLOB_SUBST
|
||||||
fi
|
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
|
# Make a sane PATH
|
||||||
_PREFIX=@PREFIX@
|
_PREFIX=@PREFIX@
|
||||||
_PKG_PREFIX=@PKG_PREFIX@
|
_PKG_PREFIX=@PKG_PREFIX@
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
#include <regex.h>
|
#include <regex.h>
|
||||||
|
#include <signal.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user