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:
parent
f6cdb820af
commit
6ca4116555
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user