changeset 7583:05f15d427bf3

* lib/xstrndup.c: Assume config.h.
author Eric Blake <ebb9@byu.net>
date Sat, 28 Oct 2006 18:21:16 +0000
parents 5d74cfe1bb91
children a88f85e4728f
files ChangeLog lib/xstrndup.c
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-28  Eric Blake  <ebb9@byu.net>
+
+	* lib/xstrndup.c: Assume config.h.
+
 2006-10-27  Paul Eggert  <eggert@cs.ucla.edu>
 
 	Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h.
--- a/lib/xstrndup.c
+++ b/lib/xstrndup.c
@@ -1,6 +1,6 @@
 /* Duplicate a bounded initial segment of a string, with out-of-memory
    checking.
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003, 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
@@ -16,9 +16,7 @@
    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 <config.h>
-#endif
+#include <config.h>
 
 /* Specification.  */
 #include "xstrndup.h"