X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fbsetroot.cc;h=98a5bfd4e95b9c855afb4f93dad5dbde5bb1a12e;hb=fa301a99952a74545a5b399f0227f91fa66c0ab3;hp=21cb3647ede4f4d0a97f32a2f8a92178fe0f2488;hpb=01096f867493aed2efc2694c986811404288c1f1;p=chaz%2Fopenbox 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)