diff options
Diffstat (limited to '')
-rw-r--r-- | src/system.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/system.c b/src/system.c index d986efd..4c281ed 100644 --- a/src/system.c +++ b/src/system.c @@ -28,6 +28,7 @@ #include <signal.h> #include <string.h> +#include "error.h" #include "output.h" #include "system.h" @@ -89,3 +90,10 @@ void *bsearch(const void *key, const void *base, size_t nmemb, return 0; } #endif + +#ifndef HAVE_SYSCONF +long sysconf(int name) +{ + sh_error("no sysconf for: %d", name); +} +#endif |