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;