- (stevesk) HAVE_MMAP and HAVE_SYS_MMAN_H and use them in
   monitor_mm.c
diff --git a/monitor_mm.c b/monitor_mm.c
index b383193..b9ea978 100644
--- a/monitor_mm.c
+++ b/monitor_mm.c
@@ -26,7 +26,9 @@
 #include "includes.h"
 RCSID("$OpenBSD: monitor_mm.c,v 1.4 2002/03/25 20:12:10 stevesk Exp $");
 
+#ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
+#endif
 
 #include "ssh.h"
 #include "xmalloc.h"
@@ -82,10 +84,15 @@
 	 */
 	mm->mmalloc = mmalloc;
 
+#ifdef HAVE_MMAP
 	address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED,
 	    -1, 0);
 	if (address == MAP_FAILED)
 		fatal("mmap(%lu)", (u_long)size);
+#else
+	fatal("%s: UsePrivilegeSeparation=yes not supported",
+	    __FUNCTION__);
+#endif
 
 	mm->address = address;
 	mm->size = size;