From 143ccd27b4857a34ae0294eac6d05f45d27e50ef Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 9 Jun 2017 08:52:45 +0100 Subject: Add memmem to compat. --- compat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compat.h') diff --git a/compat.h b/compat.h index 7824fc52..e06f104d 100644 --- a/compat.h +++ b/compat.h @@ -261,6 +261,11 @@ size_t strnlen(const char *, size_t); char *strndup(const char *, size_t); #endif +#ifndef HAVE_MEMMEM +/* memmem.c */ +void *memmem(const void *, size_t, const void *, size_t); +#endif + #ifndef HAVE_DAEMON /* daemon.c */ int daemon(int, int); -- cgit v1.2.3