Solaris needs errno as an extern int.

This commit is contained in:
Daniel Stenberg 2002-12-05 11:25:36 +00:00
parent 92aea29a30
commit 645e700da3

View File

@ -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));