From 6ca4116555461c481809ad26e520efe214153ff9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 5 Dec 2002 19:39:17 +0000 Subject: better errno include and no extern --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 31b7f0e7b..992c3413c 100644 --- a/src/main.c +++ b/src/main.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include @@ -3051,7 +3051,6 @@ 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)); -- cgit v1.2.3