summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-15 16:24:29 +0000
committerDana Jansens <danakj@orodu.net>2002-08-15 16:24:29 +0000
commitf21fbf1de5365230f413a57e943a59163caecb02 (patch)
tree9739786a8f38c6884cbed0e0ccfc127255f262a6 /util
parentd856db568a5933555191a35778dfa9cf0f619f8f (diff)
sync with bb-cvs
Diffstat (limited to 'util')
-rw-r--r--util/bsetroot.cc8
1 files changed, 5 insertions, 3 deletions
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 <stdio.h>
#endif // HAVE_STDIO_H
-}
-#include <cctype>
+#ifdef HAVE_CTYPE_H
+# include <ctype.h>
+#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)