From: Darren Tucker Date: Wed, 9 Oct 2019 22:42:03 +0000 (+1100) Subject: Fix ifdef typo for declaration of memmem. X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F158%2Fhead;p=thirdparty%2Fopenssh-portable.git Fix ifdef typo for declaration of memmem. Fixes build on IRIX. bz#3081. --- diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index fda6706f8..0430e1963 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h @@ -73,7 +73,7 @@ int getpagesize(void); char *getcwd(char *pt, size_t size); #endif -#ifdef HAVE_MEMMEM +#ifndef HAVE_MEMMEM void *memmem(const void *, size_t, const void *, size_t); #endif