Include clocale instead of locale.h

Authored by wojnilowicz on Mar 18 2018, 9:41 AM.

Description

Include clocale instead of locale.h

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.

Differential Revision: https://phabricator.kde.org/D11408

Details

Committed
wojnilowiczMar 18 2018, 9:41 AM
Differential Revision
D11408: Include clocale instead of locale.h
Parents
R261:7bac65b4e7db: Use kcoreaddons_add_plugin
Branches
Unknown
Tags
Unknown