diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-03-14 11:31:45 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-03-14 14:16:25 +0100 |
commit | 2bdadc5274df42738b97045cd01cd63d3651daf9 (patch) | |
tree | c388f9bce8e6c67f8f9555b44b83ff5a8b31d74c /src/util/sss_utf8.c | |
parent | d987dba42894aceff106d557b13812092028cc29 (diff) | |
download | sssd-2bdadc5274df42738b97045cd01cd63d3651daf9.tar.gz sssd-2bdadc5274df42738b97045cd01cd63d3651daf9.tar.xz sssd-2bdadc5274df42738b97045cd01cd63d3651daf9.zip |
UTIL: Hide implementation details about unicode libraries.
Header files from glib or unistring are only necessary in implementation module
sss_utf8.c
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/util/sss_utf8.c')
-rw-r--r-- | src/util/sss_utf8.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/util/sss_utf8.c b/src/util/sss_utf8.c index 27c5cb60a..695230826 100644 --- a/src/util/sss_utf8.c +++ b/src/util/sss_utf8.c @@ -20,7 +20,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "util/util.h" +#include "config.h" + +#ifdef HAVE_LIBUNISTRING +#include <unistr.h> +#include <unicase.h> +#elif defined(HAVE_GLIB2) +#include <glib.h> +#endif + #include "sss_utf8.h" #ifdef HAVE_LIBUNISTRING |