From: Darren Tucker Date: Wed, 9 Oct 2019 22:42:03 +0000 (+1100) Subject: Fix ifdef typo for declaration of memmem. X-Git-Tag: V_8_2_P1~406 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bd312a362168c1eae3cd6b3889395a78e6fd0f8;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