[openssh-commits] [openssh] 01/01: Fix ifdef typo for declaration of memmem.

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Oct 10 09:45:45 AEDT 2019


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 0bd312a362168c1eae3cd6b3889395a78e6fd0f8
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Thu Oct 10 09:42:03 2019 +1100

    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 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
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list