aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-05 19:39:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-05 19:39:17 +0000
commit6ca4116555461c481809ad26e520efe214153ff9 (patch)
tree66086be0f08f812f935a440261d8cdf6cf4bd230 /src
parentf6cdb820af81266d65203f968388d1d92d4c167c (diff)
better errno include and no extern
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));