From bac726e11dba0e61427e84b0d34fd6fb3290a5c6 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 17 Oct 2006 12:16:04 +0000 Subject: [PATCH] * lib/xvasprintf.c (includes): Assume config.h. * lib/xasprintf.c (includes): Likewise. --- ChangeLog | 5 +++++ lib/xasprintf.c | 6 ++---- lib/xvasprintf.c | 4 +--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a5beab58..c7b6e8de3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-17 Eric Blake + + * lib/xvasprintf.c (includes): Assume config.h. + * lib/xasprintf.c (includes): Likewise. + 2006-10-16 Paul Eggert * lib/fsusage.c (PROPAGATE_ALL_ONES): Don't assume uintmax_t is diff --git a/lib/xasprintf.c b/lib/xasprintf.c index 5a96cacc1..cf1b8a5ee 100644 --- a/lib/xasprintf.c +++ b/lib/xasprintf.c @@ -1,5 +1,5 @@ /* vasprintf and asprintf with out-of-memory checking. - Copyright (C) 1999, 2002-2004 Free Software Foundation, Inc. + Copyright (C) 1999, 2002-2004, 2006 Free Software Foundation, Inc. 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 @@ -15,9 +15,7 @@ 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 +#include /* Specification. */ #include "xvasprintf.h" diff --git a/lib/xvasprintf.c b/lib/xvasprintf.c index d68a50d83..30cea9364 100644 --- a/lib/xvasprintf.c +++ b/lib/xvasprintf.c @@ -15,9 +15,7 @@ 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 +#include /* Specification. */ #include "xvasprintf.h" -- 2.11.0