* lib/xstrndup.c: Assume config.h.
authorEric Blake <ebb9@byu.net>
Sat, 28 Oct 2006 18:21:16 +0000 (18:21 +0000)
committerEric Blake <ebb9@byu.net>
Sat, 28 Oct 2006 18:21:16 +0000 (18:21 +0000)
ChangeLog
lib/xstrndup.c

index f0f5a8a..f88f1d4 100644 (file)
--- 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.
index a62d4bd..afcbc1a 100644 (file)
@@ -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"