changeset 27201:9ffe5ead9f55

* lib/xvasprintf.c (includes): Assume config.h. * lib/xasprintf.c (includes): Likewise.
author Eric Blake <ebb9@byu.net>
date Tue, 17 Oct 2006 12:16:04 +0000
parents 036310c349ba
children 310c6d9faa5b
files ChangeLog lib/xasprintf.c lib/xvasprintf.c
diffstat 3 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Oct 17 07:43:16 2006 +0000
+++ b/ChangeLog	Tue Oct 17 12:16:04 2006 +0000
@@ -1,3 +1,8 @@
+2006-10-17  Eric Blake  <ebb9@byu.net>
+
+	* lib/xvasprintf.c (includes): Assume config.h.
+	* lib/xasprintf.c (includes): Likewise.
+
 2006-10-16  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* lib/fsusage.c (PROPAGATE_ALL_ONES): Don't assume uintmax_t is
--- a/lib/xasprintf.c	Tue Oct 17 07:43:16 2006 +0000
+++ b/lib/xasprintf.c	Tue Oct 17 12:16:04 2006 +0000
@@ -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 <config.h>
-#endif
+#include <config.h>
 
 /* Specification.  */
 #include "xvasprintf.h"
--- a/lib/xvasprintf.c	Tue Oct 17 07:43:16 2006 +0000
+++ b/lib/xvasprintf.c	Tue Oct 17 12:16:04 2006 +0000
@@ -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 <config.h>
-#endif
+#include <config.h>
 
 /* Specification.  */
 #include "xvasprintf.h"