X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrtol.c;h=0b2c82a01cffc4d61a3423c230a648e4f55d72c3;hb=5b63b76064a130bdaadb1fda7ab50e82896446e1;hp=cdcd15a318cf5b9eb0aec1a8bbb34087665ad7c5;hpb=4fde4952d5a3db51a122f96a31bfcd6879399fea;p=gnulib.git diff --git a/lib/strtol.c b/lib/strtol.c index cdcd15a31..0b2c82a01 100644 --- a/lib/strtol.c +++ b/lib/strtol.c @@ -1,14 +1,15 @@ /* Convert string representation of a number into an integer value. - Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2003, 2005, 2006 + Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2003, 2005, + 2006, 2007 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@gnu.org. - This program is free software; you can redistribute it and/or modify it + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2, or (at your option) any + Free Software Foundation; either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, @@ -17,15 +18,12 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -#ifdef HAVE_CONFIG_H -# include -#endif + along with this program. If not, see . */ #ifdef _LIBC # define USE_NUMBER_GROUPING +#else +# include #endif #include @@ -189,9 +187,7 @@ # define LOCALE_PARAM_PROTO #endif -#if defined _LIBC || defined HAVE_WCHAR_H -# include -#endif +#include #ifdef USE_WIDE_CHAR # include