aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7db21fc4b..31b7f0e7b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3051,6 +3051,7 @@ static int create_dir_hierarchy(char *outfile)
char *outdup;
char *dirbuildup;
int result=0;
+ extern int errno;
outdup = strdup(outfile);
dirbuildup = malloc(sizeof(char) * strlen(outfile));