From d9b2d71dada5973a862460cf999daf4c2b15faa5 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Sat, 28 Oct 2006 18:21:16 +0000 Subject: [PATCH] * lib/xstrndup.c: Assume config.h. --- ChangeLog | 4 ++++ lib/xstrndup.c | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f0f5a8a956..f88f1d4e75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-10-28 Eric Blake + + * lib/xstrndup.c: Assume config.h. + 2006-10-27 Paul Eggert Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h. diff --git a/lib/xstrndup.c b/lib/xstrndup.c index a62d4bd695..afcbc1ab2c 100644 --- 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 -#endif +#include /* Specification. */ #include "xstrndup.h" -- 2.30.2