Solaris needs errno as an extern int.
authorDaniel Stenberg <daniel@haxx.se>
Thu, 5 Dec 2002 11:25:36 +0000 (11:25 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 5 Dec 2002 11:25:36 +0000 (11:25 +0000)
src/main.c

index 7db21fc..31b7f0e 100644 (file)
@@ -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));