From 22c7c88d013d78091e097525b43a9cfa69385a7b Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Thu, 15 Apr 2010 10:15:10 -0400 Subject: newer xulrunner --- buildscripts/hacks_ubuntu.py | 4 +++- scripting/engine_spidermonkey.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/buildscripts/hacks_ubuntu.py b/buildscripts/hacks_ubuntu.py index 56649f89355..480c6226856 100644 --- a/buildscripts/hacks_ubuntu.py +++ b/buildscripts/hacks_ubuntu.py @@ -39,7 +39,9 @@ def foundxulrunner( env , options ): env.Prepend( RPATH=[ libroot ] ) env.Prepend( CPPPATH=[ incroot + "stable/" , - incroot + "unstable/" ] ) + incroot + "unstable/" , + incroot ] ) + env.Prepend( CPPPATH=[ "/usr/include/nspr/" ] ) env.Append( CPPDEFINES=[ "XULRUNNER" , "OLDJS" ] ) if best.find( "1.9.0" ) >= 0 or best.endswith("1.9"): diff --git a/scripting/engine_spidermonkey.h b/scripting/engine_spidermonkey.h index 8aeb56cc5fc..938df68651b 100644 --- a/scripting/engine_spidermonkey.h +++ b/scripting/engine_spidermonkey.h @@ -42,6 +42,7 @@ #endif #include "jsapi.h" +#include "jsobj.h" #include "jsdate.h" #include "jsregexp.h" -- cgit v1.2.1