summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--defines.h4
-rw-r--r--servconf.c9
2 files changed, 0 insertions, 13 deletions
diff --git a/defines.h b/defines.h
index b8ea88b2d..79dcb507f 100644
--- a/defines.h
+++ b/defines.h
@@ -829,10 +829,6 @@ struct winsize {
829# define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b))) 829# define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b)))
830#endif 830#endif
831 831
832#if defined(HAVE_MMAP) && defined(BROKEN_MMAP)
833# undef HAVE_MMAP
834#endif
835
836#ifndef IOV_MAX 832#ifndef IOV_MAX
837# if defined(_XOPEN_IOV_MAX) 833# if defined(_XOPEN_IOV_MAX)
838# define IOV_MAX _XOPEN_IOV_MAX 834# define IOV_MAX _XOPEN_IOV_MAX
diff --git a/servconf.c b/servconf.c
index 2ce04cf14..f08e37477 100644
--- a/servconf.c
+++ b/servconf.c
@@ -495,15 +495,6 @@ fill_default_server_options(ServerOptions *options)
495 options->auth_methods[0] = NULL; 495 options->auth_methods[0] = NULL;
496 options->num_auth_methods = 0; 496 options->num_auth_methods = 0;
497 } 497 }
498
499#ifndef HAVE_MMAP
500 if (use_privsep && options->compression == 1) {
501 error("This platform does not support both privilege "
502 "separation and compression");
503 error("Compression disabled");
504 options->compression = 0;
505 }
506#endif
507} 498}
508 499
509/* Keyword tokens. */ 500/* Keyword tokens. */