aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-07 19:13:48 +0000
committerjozan <jozan@noemail.net>2020-11-07 19:13:48 +0000
commit0a3281f608408409c1c29732dede4017357c3494 (patch)
tree3a6810423a5ad4c179119afd7cec5d8b372f8383
parentBug fix (diff)
downloadunixize-0a3281f608408409c1c29732dede4017357c3494.tar.gz
unixize-0a3281f608408409c1c29732dede4017357c3494.tar.bz2
unixize-0a3281f608408409c1c29732dede4017357c3494.tar.xz
unixize-0a3281f608408409c1c29732dede4017357c3494.tar.zst
unixize-0a3281f608408409c1c29732dede4017357c3494.zip
Ignored fossil-settings
FossilOrigin-Name: 50fb4a17c89a0b3c9d17909467ad9b507d311e8823ce527197cf78163efdd0da
-rw-r--r--.fossil-settings/ignore-glob1
-rw-r--r--src/c_unixize.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob
index ce0679b..2f52a22 100644
--- a/.fossil-settings/ignore-glob
+++ b/.fossil-settings/ignore-glob
@@ -2,3 +2,4 @@ obj
unixize
git.sh
compile_flags.txt
+.fossil-settings
diff --git a/src/c_unixize.c b/src/c_unixize.c
index 880f0a4..2a0ed43 100644
--- a/src/c_unixize.c
+++ b/src/c_unixize.c
@@ -45,6 +45,8 @@
* This is the main function and entrypoint of the program.
*/
+#include <sys/param.h>
+
#include <dirent.h>
#include <errno.h>
#include <stdio.h>
@@ -69,6 +71,7 @@ main
struct opts_s opts;
int nargc;
char** nargv;
+ static char subpath[MAXPATHLEN];
if (c_get_opts(&opts, argc, argv) == FALSE) {
return (0);