From d8c89be1293cf71ee242f812b3c4552c3f5e8c66 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 27 Feb 2005 18:38:15 +0000 Subject: Try to fix the build with 1.7 branch. 2005-02-27 Christian Persch * embed/mozilla/MozDownload.cpp: Try to fix the build with 1.7 branch. --- embed/mozilla/MozDownload.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'embed') diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp index 140eb98fc..248286ff1 100644 --- a/embed/mozilla/MozDownload.cpp +++ b/embed/mozilla/MozDownload.cpp @@ -60,6 +60,7 @@ #define MOZILLA_STRICT_API #include #undef MOZILLA_STRICT_API +#include #include #include @@ -379,8 +380,8 @@ MozDownload::OnStateChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest, nsEmbedCString cDesc; NS_UTF16ToCString (description, NS_CSTRING_ENCODING_UTF8, cDesc); #else - char *mimeType; - rv = mMIMEInfo->GetMIMEType (&mimeType); + char *mime; + rv = mMIMEInfo->GetMIMEType (&mime); NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE); if (mime) -- cgit v1.2.3