1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

better errno include and no extern

This commit is contained in:
Daniel Stenberg 2002-12-05 19:39:17 +00:00
parent f6cdb820af
commit 6ca4116555

View File

@ -31,7 +31,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <sys/errno.h>
#include <errno.h>
#include <curl/curl.h>
@ -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));