From: Jim Meyering <jim@meyering.net>
Date: Thu, 21 Oct 1993 22:08:53 +0000 (+0000)
Subject: merge with 1.8d
X-Git-Tag: merge-with-1_9_4k~53
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=10ae4f6feeaf8cf5c95366d670e90a0adafd8b04;p=gnulib.git

merge with 1.8d
---

diff --git a/lib/memchr.c b/lib/memchr.c
index 7495106362..bb8b813817 100644
--- a/lib/memchr.c
+++ b/lib/memchr.c
@@ -20,6 +20,17 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 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 <config.h> 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 <config.h>
+#else
+#include "config.h"
+#endif
+#endif
+
 /* Search no more than N bytes of S for C.  */
 
 char *