Building KMyMoney on FreeBSD fails here
https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20FreeBSDQt5.9/
and this patch is intended to fix that.
According to
http://en.cppreference.com/w/cpp/locale/localeconv
the function std::localeconv() can be used if "clocale" is included, but in our case "locale.h" is included, which coresponds to plain C language.
I assume that's causing problem on FreeBSD. I didn't test it in real environment.