aboutsummaryrefslogtreecommitdiff
path: root/stdlib/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtol.c')
-rw-r--r--stdlib/strtol.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
index 8c5bbc22be..42f7f24fe9 100644
--- a/stdlib/strtol.c
+++ b/stdlib/strtol.c
@@ -21,6 +21,11 @@ Cambridge, MA 02139, USA. */
# include <config.h>
#endif
+#ifdef _LIBC
+# define USE_NUMBER_GROUPING
+# define STDC_HEADERS
+#endif
+
#include <ctype.h>
#include <errno.h>
#include <limits.h>
@@ -34,10 +39,6 @@ Cambridge, MA 02139, USA. */
# endif
#endif
-#ifdef _LIBC
-# define USE_NUMBER_GROUPING
-#endif
-
#ifdef USE_NUMBER_GROUPING
# include "../locale/localeinfo.h"
#endif