aboutsummaryrefslogtreecommitdiff
path: root/stdlib/strtoll_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtoll_l.c')
-rw-r--r--stdlib/strtoll_l.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/stdlib/strtoll_l.c b/stdlib/strtoll_l.c
index 32ceda0456..e4a3ac052f 100644
--- a/stdlib/strtoll_l.c
+++ b/stdlib/strtoll_l.c
@@ -18,9 +18,13 @@
#define QUAD 1
+#include <features.h>
+#undef __GLIBC_USE_C2X_STRTOL
+#define __GLIBC_USE_C2X_STRTOL 0
#include <locale.h>
+#include <stdbool.h>
extern long long int ____strtoll_l_internal (const char *, char **, int, int,
- locale_t);
+ bool, locale_t);
#include <strtol_l.c>