# HG changeset patch # User Bruno Haible # Date 1154362148 0 # Node ID 6a24b1c63a3afbcf6e6b409e1bfb1d613f9c70a8 # Parent 901806ac9d514e4bb004f1924ddd1ed6444a4a09 Assume the standard headers exist. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-07-29 Bruno Haible + + * localcharset.c: Assume , , exist. + 2006-07-29 Bruno Haible * setenv.c: Undo unintended modification done on 2006-02-27. diff --git a/lib/localcharset.c b/lib/localcharset.c --- a/lib/localcharset.c +++ b/lib/localcharset.c @@ -25,19 +25,10 @@ /* Specification. */ #include "localcharset.h" -#if HAVE_STDDEF_H -# include -#endif - +#include #include -#if HAVE_STRING_H -# include -#else -# include -#endif -#if HAVE_STDLIB_H -# include -#endif +#include +#include #if defined _WIN32 || defined __WIN32__ # define WIN32_NATIVE diff --git a/m4/ChangeLog b/m4/ChangeLog --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-07-31 Bruno Haible + + * localcharset.m4 (gl_LOCALCHARSET): Remove tests for , + , . + 2006-07-30 Bruno Haible * wcwidth.m4 (gl_FUNC_WCWIDTH): Assume exists. diff --git a/m4/localcharset.m4 b/m4/localcharset.m4 --- a/m4/localcharset.m4 +++ b/m4/localcharset.m4 @@ -1,4 +1,4 @@ -# localcharset.m4 serial 3 +# localcharset.m4 serial 4 dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,7 +7,6 @@ AC_DEFUN([gl_LOCALCHARSET], [ dnl Prerequisites of lib/localcharset.c. - AC_CHECK_HEADERS_ONCE(stddef.h stdlib.h string.h) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CHECK_DECLS_ONCE(getc_unlocked) AC_CHECK_FUNCS_ONCE(setlocale)