defines.h already defined MAX, MIN. It first checks if MAX is not defined. In memmem.c, it's assumed MAX is not defined and we define one more time. https://github.com/openssh/openssh-portable/blob/d1bd184046bc310c405f45da3614a1dc5b3e521a/defines.h#L487 https://github.com/openssh/openssh-portable/blob/d1bd184046bc310c405f45da3614a1dc5b3e521a/openbsd-compat/memmem.c#L64
Fixed, thanks for the report.
closing resolved bugs as of 8.6p1 release