mirror of
https://github.com/curl/curl.git
synced 2026-06-18 07:05:38 +03:00
better errno include and no extern
This commit is contained in:
parent
f6cdb820af
commit
6ca4116555
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue