From 45dc5acfc45be7880fb0330d900b7baeb0b060bc Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Tue, 21 Jul 1998 02:45:39 +0000 Subject: [PATCH] Fixed unix build --- webshell/tests/viewer/nsViewerApp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webshell/tests/viewer/nsViewerApp.cpp b/webshell/tests/viewer/nsViewerApp.cpp index c2dc2c71fa1..bdded11f6f9 100644 --- a/webshell/tests/viewer/nsViewerApp.cpp +++ b/webshell/tests/viewer/nsViewerApp.cpp @@ -24,10 +24,13 @@ #include "nsINetService.h" #include "nsRepository.h" #include "nsDocLoader.h" -#include "JSConsole.h" #include "prprf.h" #include "plstr.h" +#ifdef XP_PC +#include "JSConsole.h" +#endif + #ifdef VIEWER_PLUGINS static nsIPluginManager *gPluginManager = nsnull; static nsIPluginHost *gPluginHost = nsnull;