The following reply was made to PR mod_jserv/4828; it has been noted by GNATS.
From: Ian Holsman <[EMAIL PROTECTED]> To: jon * <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: mod_jserv/4828: jserv_mmap.c tries to include sys/mman.h on aNT system Date: Fri, 06 Aug 1999 13:25:02 -0700 might want to try +#if defined(HAVE_MMAP) && !defined(WIN32) oh... I found another prob in jserv_ajpv12.c it is missing the include file http_core.h it is needed for ap_get_server_name/ ap_get_server_port just #including it seemed to work. ..Ian jon * wrote: > >>Fix: > > Either find a NT method of implementing this feature, or add && > !defined(WIN32) > > to the code so that it doesn't use mem mapping... > > does this fix the problem? > > -jon > > Index: jserv_mmap.c > =================================================================== > RCS file: /products/cvs/master/jserv/src/c/jserv_mmap.c,v > retrieving revision 1.11 > retrieving revision 1.12 > diff -u -r1.11 -r1.12 > --- jserv_mmap.c 1999/07/14 07:39:50 1.11 > +++ jserv_mmap.c 1999/08/06 19:54:58 1.12 > @@ -60,12 +60,12 @@ > * process found it was not present. (fail-over part) > * > * Comments: MT-unsafe > * > * Author: Jean-Luc Rochat <[EMAIL PROTECTED]> > * > - * Version: $Revision: 1.11 $ > * > + * Version: $Revision: 1.12 $ > * > > **************************************************************************** > */ > > #include "jserv.h" > > -#ifdef HAVE_MMAP > +#ifdef HAVE_MMAP && !defined(WIN32) > /* > ========================================================================= */ > /* we are on a system with the mmapp POSIX system call. > */ > /* mmap'ed file is a shared memory read/write by all processes. > */ > >