aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-12-05 11:25:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-12-05 11:25:36 +0000
commit645e700da3086deeb802b168c236c0aa00994a23 (patch)
tree792b45641fa256caa97964183bbea8e48e1af56b /src
parent92aea29a300cf578027b52ea65adf6c1fb75efa6 (diff)
Solaris needs errno as an extern int.
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7db21fc4b..31b7f0e7b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3051,6 +3051,7 @@ 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));