From 98abec8df6e76d38b54b293ecb16c736a977dc0c Mon Sep 17 00:00:00 2001 From: "jdunn%netscape.com" Date: Mon, 5 Apr 1999 20:48:43 +0000 Subject: [PATCH] include ctype.h for tolower function prototype. NOTE: also added a return PR_FALSE to remove compiler warning --- webshell/tests/viewer/nsBrowserWindow.cpp | 2 ++ webshell/tests/viewer/nsXPBaseWindow.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/webshell/tests/viewer/nsBrowserWindow.cpp b/webshell/tests/viewer/nsBrowserWindow.cpp index eb60f76c8a6c..4dcee12a3ec1 100644 --- a/webshell/tests/viewer/nsBrowserWindow.cpp +++ b/webshell/tests/viewer/nsBrowserWindow.cpp @@ -80,6 +80,8 @@ #include #endif +#include // tolower + // For Copy #include "nsIDOMSelection.h" #include "nsISelectionMgr.h" diff --git a/webshell/tests/viewer/nsXPBaseWindow.cpp b/webshell/tests/viewer/nsXPBaseWindow.cpp index 1ece89f5572c..72a40ed9cb50 100644 --- a/webshell/tests/viewer/nsXPBaseWindow.cpp +++ b/webshell/tests/viewer/nsXPBaseWindow.cpp @@ -59,6 +59,8 @@ #include #endif +#include // tolower + // XXX For font setting below #include "nsFont.h" //#include "nsUnitConversion.h" @@ -618,6 +620,7 @@ NS_IMETHODIMP_(PRBool) nsXPBaseWindow::Confirm(const nsString &aText) return PR_FALSE; } } + return PR_FALSE; } //----------------------------------------