]> granicus.if.org Git - curl/commitdiff
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 7db21fc4b1dc3932943132c873822a26647731c5..31b7f0e7bd78a3e3ed9e506c89c493cd8109c399 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));