aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-04-21 20:06:47 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-04-21 20:06:47 +0200
commit24af9d6e598956d6fae1f3ed806dea1c3f5cfe48 (patch)
tree7371a864f259655d715f2d456e5d8c5a183a2416 /vespalib
parent037816b9203d7e0ba271dfc7ceace1f7af7633b6 (diff)
Use extended locale support on non-linux platforms.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/locale/locale.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/locale/locale.h b/vespalib/src/vespa/vespalib/locale/locale.h
index ee2bbe54af3..ed3ca560630 100644
--- a/vespalib/src/vespa/vespalib/locale/locale.h
+++ b/vespalib/src/vespa/vespalib/locale/locale.h
@@ -3,6 +3,9 @@
#pragma once
#include <clocale>
+#ifndef __linux__
+#include <xlocale.h>
+#endif
namespace vespalib::locale {