+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#if HAVE_STRING_H
+# if !STDC_HEADERS && HAVE_MEMORY_H
+# include <memory.h>
+# endif
+/* Temporarily redefine strnlen so that an inconsistent prototype
+ (on at least AIX4.3.2.0 w/gcc-2.95.3) doesn't cause trouble. */
+# define strnlen system_strnlen
+# include <string.h>
+# undef strnlen
+#else
+# include <strings.h>
+#endif
+
+#ifndef HAVE_DECL_MEMCHR
+"this configure-time declaration test was not run"
+#endif
+#if !HAVE_DECL_MEMCHR
+char *memchr ();
+#endif