aboutsummaryrefslogtreecommitdiffstats
path: root/m4/gecko.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/gecko.m4')
-rw-r--r--m4/gecko.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/gecko.m4 b/m4/gecko.m4
index b32e9f52d..fb9d58ec7 100644
--- a/m4/gecko.m4
+++ b/m4/gecko.m4
@@ -379,7 +379,11 @@ GECKO_RUN_IFELSE([],
#include <nsILocalFile.h>
#include <nsIServiceManager.h>
#include <nsIComponentRegistrar.h>
+#ifdef HAVE_GECKO_1_8
+#include <nsStringAPI.h>
+#else
#include <nsString.h>
+#endif
]],[[
// redirect unwanted mozilla debug output
freopen ("/dev/null", "w", stdout);