summaryrefslogtreecommitdiff
path: root/lib/strtol.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-22 00:33:37 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-22 00:33:37 -0700
commitaaa935591793937f354024fd094d2630d0399abc (patch)
tree42db7b1a06dd97ab8ae20bbc6a63cd18594db331 /lib/strtol.c
parent36009a21cb540401591a4891e05e1c4b32a8c593 (diff)
downloademacs-aaa935591793937f354024fd094d2630d0399abc.tar.gz
Simpler version of strtoumax module.
Diffstat (limited to 'lib/strtol.c')
-rw-r--r--lib/strtol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/strtol.c b/lib/strtol.c
index b6a761ecb9c..6c15d11e8f8 100644
--- a/lib/strtol.c
+++ b/lib/strtol.c
@@ -186,9 +186,8 @@
# define LOCALE_PARAM_PROTO
#endif
-#include <wchar.h>
-
#ifdef USE_WIDE_CHAR
+# include <wchar.h>
# include <wctype.h>
# define L_(Ch) L##Ch
# define UCHAR_TYPE wint_t