summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-10-10 09:42:03 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-10-10 09:42:03 +1100
commit0bd312a362168c1eae3cd6b3889395a78e6fd0f8 (patch)
treec702920bedf44f082d16591dc7ef15da6ee9915f
parent01ce1cd402d5eecde2bba35b67e08f5b266b37fd (diff)
Fix ifdef typo for declaration of memmem.
Fixes build on IRIX. bz#3081.
-rw-r--r--openbsd-compat/openbsd-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index fda6706f..0430e196 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