summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--openbsd-compat/openbsd-compat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a12fc0d12..6e70e52c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1873,7 +1873,7 @@ AC_CHECK_FUNCS([ \
1873 warn \ 1873 warn \
1874]) 1874])
1875 1875
1876AC_CHECK_DECLS([bzero]) 1876AC_CHECK_DECLS([bzero, memmem])
1877 1877
1878dnl Wide character support. 1878dnl Wide character support.
1879AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth]) 1879AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth])
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index afe882f92..8c97173b1 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -74,7 +74,7 @@ int getpagesize(void);
74char *getcwd(char *pt, size_t size); 74char *getcwd(char *pt, size_t size);
75#endif 75#endif
76 76
77#ifndef HAVE_MEMMEM 77#if defined(HAVE_DECL_MEMMEM) && HAVE_DECL_MEMMEM == 0
78void *memmem(const void *, size_t, const void *, size_t); 78void *memmem(const void *, size_t, const void *, size_t);
79#endif 79#endif
80 80