diff options
Diffstat (limited to 'binary/src/mozJSLoaderUtils.h')
-rw-r--r-- | binary/src/mozJSLoaderUtils.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/binary/src/mozJSLoaderUtils.h b/binary/src/mozJSLoaderUtils.h index 0b47b947..b56e7296 100644 --- a/binary/src/mozJSLoaderUtils.h +++ b/binary/src/mozJSLoaderUtils.h @@ -40,6 +40,12 @@ #ifndef mozJSLoaderUtils_h #define mozJSLoaderUtils_h +/* + * This is evil. Very evil. +#define nsString_h___ +#include "nsStringGlue.h" + */ + #include "nsIStartupCache.h" #include "nsStringAPI.h" #include "jsapi.h" @@ -52,10 +58,6 @@ class StartupCache; } } -#include "nsIWeakReferenceUtils.h" -typedef nsString nsAFlatString; -#include "nsScriptLoader.h" - nsresult ReadCachedScript(nsIStartupCache* cache, nsACString &uri, JSContext *cx, JSScript **scriptObj); |