summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2006-10-17 12:16:04 +0000
committerEric Blake <ebb9@byu.net>2006-10-17 12:16:04 +0000
commitbac726e11dba0e61427e84b0d34fd6fb3290a5c6 (patch)
tree0554df115fe75301b12436429d7db2b92d6f937b
parent6ab8679bc754573039da837ca1112fa833aa51f7 (diff)
downloadgnulib-bac726e11dba0e61427e84b0d34fd6fb3290a5c6.tar.gz
* lib/xvasprintf.c (includes): Assume config.h.
* lib/xasprintf.c (includes): Likewise.
-rw-r--r--ChangeLog5
-rw-r--r--lib/xasprintf.c6
-rw-r--r--lib/xvasprintf.c4
3 files changed, 8 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a5beab588..c7b6e8de3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/lib/xasprintf.c b/lib/xasprintf.c
index 5a96cacc12..cf1b8a5ee4 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 <config.h>
-#endif
+#include <config.h>
/* Specification. */
#include "xvasprintf.h"
diff --git a/lib/xvasprintf.c b/lib/xvasprintf.c
index d68a50d83c..30cea9364e 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 <config.h>
-#endif
+#include <config.h>
/* Specification. */
#include "xvasprintf.h"