aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
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 <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));