]> granicus.if.org Git - curl/commitdiff
use our define struct_stat to be compatible with largefile support.
authorGunter Knauf <gk@gknw.de>
Sun, 6 Sep 2009 19:45:08 +0000 (19:45 +0000)
committerGunter Knauf <gk@gknw.de>
Sun, 6 Sep 2009 19:45:08 +0000 (19:45 +0000)
lib/nss.c

index 15942a3e6d66bbc5b12bbfe5af1c9042a5e291a7..d70d1beaf5e23fabef2e0c0df16fb9842d705360 100644 (file)
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -266,7 +266,7 @@ static int num_enabled_ciphers(void)
  */
 static int is_file(const char *filename)
 {
-  struct stat st;
+  struct_stat st;
 
   if(filename == NULL)
     return 0;
@@ -968,7 +968,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
     certDir = getenv("SSL_DIR"); /* Look in $SSL_DIR */
 
     if(!certDir) {
-      struct stat st;
+      struct_stat st;
 
       if(stat(SSL_DIR, &st) == 0)
         if(S_ISDIR(st.st_mode)) {
@@ -1104,7 +1104,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
     }
   }
   else if(data->set.ssl.CApath) {
-    struct stat st;
+    struct_stat st;
     PRDir      *dir;
     PRDirEntry *entry;