summaryrefslogtreecommitdiff
path: root/lib/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/regex.c')
-rw-r--r--lib/regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/regex.c b/lib/regex.c
index f9f333d237d..d0c7af90186 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -20,6 +20,7 @@
#define __STDC_WANT_IEC_60559_BFP_EXT__
#ifndef _LIBC
+# define _GL_USE_STDLIB_ALLOC 1
# include <libc-config.h>
# if __GNUC_PREREQ (4, 6)