summaryrefslogtreecommitdiff
path: root/src/locale/locale_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/locale_map.c')
-rw-r--r--src/locale/locale_map.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/locale/locale_map.c b/src/locale/locale_map.c
index e7eede62..94f1b04e 100644
--- a/src/locale/locale_map.c
+++ b/src/locale/locale_map.c
@@ -1,10 +1,16 @@
#include <locale.h>
#include <string.h>
#include <sys/mman.h>
+#include <stdlib.h>
#include "locale_impl.h"
#include "libc.h"
#include "lock.h"
+#define malloc __libc_malloc
+#define calloc undef
+#define realloc undef
+#define free undef
+
const char *__lctrans_impl(const char *msg, const struct __locale_map *lm)
{
const char *trans = 0;