| 1 | diff --git a/cmd_cp.c b/cmd_cp.c
|
| 2 | index 9a6845c..866805a 100755
|
| 3 | |
| 4 | |
| 5 | @@ -5,6 +5,7 @@
|
| 6 |
|
| 7 | #include <stdio.h>
|
| 8 | #include <stdlib.h>
|
| 9 | +#include <string.h>
|
| 10 | #include <unistd.h>
|
| 11 | #include <limits.h>
|
| 12 | #include "getopt.h"
|
| 13 | diff --git a/cmd_ls.c b/cmd_ls.c
|
| 14 | index 2ed38cf..738fb03 100755
|
| 15 | |
| 16 | |
| 17 | @@ -5,6 +5,7 @@
|
| 18 |
|
| 19 | #include <stdio.h>
|
| 20 | #include <stdlib.h>
|
| 21 | +#include <string.h>
|
| 22 | #include <assert.h>
|
| 23 | #include <time.h>
|
| 24 | #include "interface.h"
|
| 25 | diff --git a/configure b/configure
|
| 26 | index bb18d07..1b427d2 100755
|
| 27 | |
| 28 | |
| 29 | @@ -1135,7 +1135,7 @@ cat > conftest.$ac_ext << EOF
|
| 30 | #line 1136 "configure"
|
| 31 | #include "confdefs.h"
|
| 32 |
|
| 33 | -main(){return(0);}
|
| 34 | +int main(){return(0);}
|
| 35 | EOF
|
| 36 | if { (eval echo configure:1141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
| 37 | ac_cv_prog_cc_works=yes
|
| 38 | @@ -2084,7 +2084,7 @@ else
|
| 39 | cat > conftest.$ac_ext <<EOF
|
| 40 | #line 2086 "configure"
|
| 41 | #include "confdefs.h"
|
| 42 | -main() { exit (fnmatch ("a*", "abc", 0) != 0); }
|
| 43 | +int main() { exit (fnmatch ("a*", "abc", 0) != 0); }
|
| 44 | EOF
|
| 45 | if { (eval echo configure:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
| 46 | then
|
| 47 | diff --git a/output.c b/output.c
|
| 48 | index f8a2b7b..70c0e17 100755
|
| 49 | |
| 50 | |
| 51 | @@ -54,7 +54,7 @@ int display(displaylevel_t level, char *format, ...)
|
| 52 | /* get the verbosity level from the fatback symbol table */
|
| 53 | if (!(verbose_var = get_fbvar("verbose"))) {
|
| 54 | printf("Error reading variable\n");
|
| 55 | - return;
|
| 56 | + return -1;
|
| 57 | } else {
|
| 58 | verbose = verbose_var->val.ival;
|
| 59 | free(verbose_var);
|