From 5cb01b63fcf2009f29a69d2f2ec013a2915015f3 Mon Sep 17 00:00:00 2001 From: "gagan%netscape.com" Date: Tue, 29 Sep 1998 22:36:06 +0000 Subject: [PATCH] NuCache wasn't building on Unix. Fixed. git-svn-id: svn://10.0.0.236/trunk@11458 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/network/cache/nu/src/nsCachePref.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/network/cache/nu/src/nsCachePref.cpp b/mozilla/network/cache/nu/src/nsCachePref.cpp index f1a319c6a2a..e888ac4c145 100644 --- a/mozilla/network/cache/nu/src/nsCachePref.cpp +++ b/mozilla/network/cache/nu/src/nsCachePref.cpp @@ -17,7 +17,9 @@ */ #include "nsCachePref.h" -#include "xp.h" +#ifndef XP_UNIX +#include "xp.h" // This complains on unix. Works ok without there. +#endif #include "prefapi.h" #include "prmem.h" #include "nsCacheManager.h" @@ -69,7 +71,7 @@ nsCachePref::SetupPrefs(const char* i_Pref) { PRBool bSetupAll = PR_FALSE; - long nTemp; + int32 nTemp; char* tempPref=0; if (!i_Pref)