diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-12-05 11:25:36 +0000 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-12-05 11:25:36 +0000 | 
| commit | 645e700da3086deeb802b168c236c0aa00994a23 (patch) | |
| tree | 792b45641fa256caa97964183bbea8e48e1af56b | |
| parent | 92aea29a300cf578027b52ea65adf6c1fb75efa6 (diff) | |
Solaris needs errno as an extern int.
| -rw-r--r-- | src/main.c | 1 | 
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));  | 
