summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/dcngettext.c1
-rw-r--r--src/locale/locale_map.c2
-rw-r--r--src/locale/setlocale.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/locale/dcngettext.c b/src/locale/dcngettext.c
index eefa31a8..7fbe7196 100644
--- a/src/locale/dcngettext.c
+++ b/src/locale/dcngettext.c
@@ -9,6 +9,7 @@
#include "locale_impl.h"
#include "atomic.h"
#include "pleval.h"
+#include "lock.h"
struct binding {
struct binding *next;
diff --git a/src/locale/locale_map.c b/src/locale/locale_map.c
index e7b518a1..2321bac0 100644
--- a/src/locale/locale_map.c
+++ b/src/locale/locale_map.c
@@ -3,7 +3,7 @@
#include <sys/mman.h>
#include "locale_impl.h"
#include "libc.h"
-#include "atomic.h"
+#include "lock.h"
const char *__lctrans_impl(const char *msg, const struct __locale_map *lm)
{
diff --git a/src/locale/setlocale.c b/src/locale/setlocale.c
index 60e3353c..11d823ce 100644
--- a/src/locale/setlocale.c
+++ b/src/locale/setlocale.c
@@ -3,7 +3,7 @@
#include <string.h>
#include "locale_impl.h"
#include "libc.h"
-#include "atomic.h"
+#include "lock.h"
static char buf[LC_ALL*(LOCALE_NAME_MAX+1)];