From d43ff22d660830b1da08cd0754d2bb7d3a70b0d5 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 10 Oct 2019 09:42:03 +1100 Subject: [PATCH] Fix ifdef typo for declaration of memmem. Fixes build on IRIX. bz#3081. --- openbsd-compat/openbsd-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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