# HG changeset patch # User Jim Meyering # Date 751241333 0 # Node ID 7a438711ad109fe26e0625977faf88e52f4cfee3 # Parent ae0780daedf258300e150991b368d13aac9c2899 merge with 1.8d diff --git a/lib/memchr.c b/lib/memchr.c --- a/lib/memchr.c +++ b/lib/memchr.c @@ -20,6 +20,17 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use instead of "config.h" so that a compilation + using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h + (which it would do because it found this file in $srcdir). */ +#include +#else +#include "config.h" +#endif +#endif + /* Search no more than N bytes of S for C. */ char *