aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/strtol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/strtol.c b/sysdeps/generic/strtol.c
index b2a232320c..f4336602d0 100644
--- a/sysdeps/generic/strtol.c
+++ b/sysdeps/generic/strtol.c
@@ -44,6 +44,7 @@ extern int errno;
# include <stddef.h>
# include <stdlib.h>
# include <string.h>
+# include <locale.h>
#else
# ifndef NULL
# define NULL 0