From f21fbf1de5365230f413a57e943a59163caecb02 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 15 Aug 2002 16:24:29 +0000 Subject: sync with bb-cvs --- util/bsetroot.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'util/bsetroot.cc') diff --git a/util/bsetroot.cc b/util/bsetroot.cc index 21cb3647..98a5bfd4 100644 --- a/util/bsetroot.cc +++ b/util/bsetroot.cc @@ -37,9 +37,11 @@ extern "C" { #ifdef HAVE_STDIO_H # include #endif // HAVE_STDIO_H -} -#include +#ifdef HAVE_CTYPE_H +# include +#endif // HAVE_CTYPE_H +} #include "../src/i18n.hh" #include "../src/GCCache.hh" @@ -303,7 +305,7 @@ void bsetroot::gradient(void) { std::string::const_iterator it = grad.begin(), end = grad.end(); for (; it != end; ++it) - descr += std::tolower(*it); + descr += tolower(*it); std::string::size_type pos; while ((pos = descr.find("raised")) != std::string::npos) -- cgit v1.2.3